public class CustomProtocolChooserExtension extends java.lang.Object implements URLChooserPluginExtension2, URLChooserToolbarExtension
Constructor and Description |
---|
CustomProtocolChooserExtension() |
Modifier and Type | Method and Description |
---|---|
java.net.URL[] |
chooseURLs(StandalonePluginWorkspace workspaceAccess)
Choose a set of URLs with the corresponding protocol.
|
java.lang.String |
getMenuName()
Get the plugin name that will be displayed on the menu
|
javax.swing.Icon |
getToolbarIcon()
Get the toolbar icon.
|
java.lang.String |
getToolbarTooltip()
Get the tooltip to be placed on the toolbar button.
|
public java.net.URL[] chooseURLs(StandalonePluginWorkspace workspaceAccess)
URLChooserPluginExtension2
chooseURLs
in interface URLChooserPluginExtension2
workspaceAccess
- Access to the Oxygen workspace.URLChooserPluginExtension2.chooseURLs(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace)
public java.lang.String getMenuName()
URLChooserMenuExtension
getMenuName
in interface URLChooserMenuExtension
public javax.swing.Icon getToolbarIcon()
URLChooserToolbarExtension
null
if the action should not be included in the toolbar.getToolbarIcon
in interface URLChooserToolbarExtension
null
.URLChooserToolbarExtension.getToolbarIcon()
public java.lang.String getToolbarTooltip()
URLChooserToolbarExtension
null
but
there is an icon provided, the URLChooserPluginExtension.getMenuName()
will be
used instead.getToolbarTooltip
in interface URLChooserToolbarExtension
null
.URLChooserToolbarExtension.getToolbarTooltip()
© Copyright Syncro Soft SRL 2002 - 2014. All rights reserved.