addDropDown
@NotNull
Adds a drop-down list widget to the addon's configuration.
Return
A configuration entry associated with the created widget.
Parameters
widgetId
Unique identifier for the widget.
label
The label displayed for the drop-down list.
tooltip
The tooltip displayed for the drop-down list.
elements
The list of elements displayed in the drop-down list.
elementTooltip
If true, elements will display tooltips.
defaultValueIndex
The default index selected for the drop-down list.