Class AddImageLayerPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.AbstractUiPlugIn
com.vividsolutions.jump.workbench.ui.plugin.imagery.AddImageLayerPlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ActionListener, EventListener
-
Field Summary
Fields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEnableCheck(WorkbenchContext workbenchContext) booleanexecute(PlugInContext context) Method to be overridden by implementations to execute the plug-in.getIcon()Get the icon for the plug-in.getName()Get the name of the plug-in.Methods inherited from class AbstractUiPlugIn
actionPerformed, getEnableCheck, getToolTip, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Constructor Details
-
AddImageLayerPlugIn
public AddImageLayerPlugIn()
-
-
Method Details
-
getName
Description copied from class:AbstractUiPlugInGet the name of the plug-in. If a name was not specified ask super class.- Specified by:
getNamein interfacePlugIn- Overrides:
getNamein classAbstractUiPlugIn- Returns:
- The plug-in name.
-
getIcon
Description copied from class:AbstractUiPlugInGet the icon for the plug-in.- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractUiPlugIn- Returns:
- The icon.
-
execute
Description copied from class:AbstractUiPlugInMethod to be overridden by implementations to execute the plug-in.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractUiPlugIn- Parameters:
context- The plug-in context.- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
-
createEnableCheck
-