Class PythonToolsPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.toolbox.ToolboxPlugInV2
org.openjump.core.ui.plugin.customize.PythonToolsPlugIn
- All Implemented Interfaces:
CheckBoxed, EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled
-
Field Summary
Fields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUse reflection to find an EnableCheck object defined by old method createEnableCheck in this plugin.getIcon()Plugin icon assumed to be 16x16 by defaultgetName()Returns a very brief description of this PlugIn e.g. for display as a menu itemvoidinitialize(PlugInContext context) Called when Workbench starts up to allow plugins to initialize themselves.protected ToolboxDialogMethods inherited from class ToolboxPlugInV2
execute, getToolboxMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Constructor Details
-
PythonToolsPlugIn
public PythonToolsPlugIn()
-
-
Method Details
-
getName
Description copied from interface:PlugInReturns a very brief description of this PlugIn e.g. for display as a menu item- Specified by:
getNamein interfacePlugIn- Overrides:
getNamein classAbstractPlugIn- Returns:
- the class name, minus "PlugIn", with spaces inserted at the appropriate point before each uppercase+lowercase and lowercase+uppercase combination.
-
initialize
Description copied from interface:PlugInCalled when Workbench starts up to allow plugins to initialize themselves.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractPlugIn- Parameters:
context- context of the PlugIn- Throws:
Exception- if an exception occur during initialization
-
initializeToolbox
- Specified by:
initializeToolboxin classToolboxPlugInV2- Throws:
Exception
-
getIcon
Description copied from class:AbstractPlugInPlugin icon assumed to be 16x16 by default- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractPlugIn
-
getEnableCheck
Description copied from class:AbstractPlugInUse reflection to find an EnableCheck object defined by old method createEnableCheck in this plugin.- Specified by:
getEnableCheckin interfaceEnableChecked- Overrides:
getEnableCheckin classToolboxPlugInV2- Returns:
- the EnableCheck defined the old way
-