public class AddImageLayerPlugIn extends AbstractUiPlugIn
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
AddImageLayerPlugIn() |
Modifier and Type | Method and Description |
---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Method to be overridden by implementations to execute the plug-in.
|
javax.swing.Icon |
getIcon()
Get the icon for the plug-in.
|
java.lang.String |
getName()
Get the name of the plug-in.
|
actionPerformed, getEnableCheck, getToolTip, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public java.lang.String getName()
AbstractUiPlugIn
getName
in interface PlugIn
getName
in class AbstractUiPlugIn
public javax.swing.Icon getIcon()
AbstractUiPlugIn
getIcon
in class AbstractUiPlugIn
public boolean execute(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIn
execute
in interface PlugIn
execute
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)