Interface URLChooserToolbarExtension
- All Superinterfaces:
PluginExtension
@API(type=EXTENDABLE,
src=PUBLIC)
public interface URLChooserToolbarExtension
extends PluginExtension
URL chooser toolbar extension.
Provides toolbar icon and toolbar tooltip for the button to be inserted in the "File" toolbar.
When pressing the button, the
URLChooserPluginExtension
's chooseURL()
will be invoked.-
Method Summary
Modifier and TypeMethodDescriptionGet the toolbar icon.Get the tooltip to be placed on the toolbar button.
-
Method Details
-
getToolbarIcon
Icon getToolbarIcon()Get the toolbar icon. The action will be placed in the "File" toolbar. Returnnull
if the action should not be included in the toolbar.- Returns:
- The toolbar icon or
null
.
-
getToolbarTooltip
String getToolbarTooltip()Get the tooltip to be placed on the toolbar button. If the tooltip isnull
but there is an icon provided, theURLChooserPluginExtension.getMenuName()
will be used instead.- Returns:
- The toolbar tooltip or
null
.
-