Oxygen XML Editor, Version 14.2

ro.sync.exml.plugin.urlstreamhandler
Interface URLChooserToolbarExtension

All Superinterfaces:
PluginExtension
All Known Implementing Classes:
CustomProtocolChooserExtension

@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
 javax.swing.Icon getToolbarIcon()
          Get the toolbar icon.
 java.lang.String getToolbarTooltip()
          Get the tooltip to be placed on the toolbar button.
 

Method Detail

getToolbarIcon

javax.swing.Icon getToolbarIcon()
Get the toolbar icon. The action will be placed in the "File" toolbar. Return null if the action should not be included in the toolbar.

Returns:
The toolbar icon or null.

getToolbarTooltip

java.lang.String getToolbarTooltip()
Get the tooltip to be placed on the toolbar button. If the tooltip is null but there is an icon provided, the URLChooserPluginExtension.getMenuName() will be used instead.

Returns:
The toolbar tooltip or null.

Oxygen XML Editor, Version 14.2

© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.