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
public class AddImageLayerPlugIn extends AbstractUiPlugIn
-
-
Field Summary
-
Fields inherited from class org.openjump.core.ui.plugin.AbstractUiPlugIn
enableCheck, workbenchContext
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description AddImageLayerPlugIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiEnableCheckcreateEnableCheck(WorkbenchContext workbenchContext)booleanexecute(PlugInContext context)Method to be overridden by implementations to execute the plug-in.IcongetIcon()Get the icon for the plug-in.StringgetName()Get the name of the plug-in.-
Methods inherited from class org.openjump.core.ui.plugin.AbstractUiPlugIn
actionPerformed, getEnableCheck, getToolTip, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
-
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
-
-
-
Method Detail
-
getName
public String 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
public Icon getIcon()
Description copied from class:AbstractUiPlugInGet the icon for the plug-in.- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractUiPlugIn- Returns:
- The icon.
-
execute
public boolean execute(PlugInContext context) throws Exception
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:
ThreadedPlugIn
-
createEnableCheck
public MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
-
-