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
public class PythonToolsPlugIn extends ToolboxPlugInV2
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description PythonToolsPlugIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableCheckgetEnableCheck()Use reflection to find an EnableCheck object defined by old method createEnableCheck in this plugin.IcongetIcon()Plugin icon assumed to be 16x16 by defaultStringgetName()Returns a very brief description of this PlugIn e.g.voidinitialize(PlugInContext context)Called when Workbench starts up to allow plugins to initialize themselves.protected ToolboxDialoginitializeToolbox()-
Methods inherited from class com.vividsolutions.jump.workbench.ui.toolbox.ToolboxPlugInV2
execute, getToolbox
-
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, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
-
-
-
Method Detail
-
getName
public String 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
public void initialize(PlugInContext context) throws Exception
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
protected ToolboxDialog initializeToolbox() throws Exception
- Specified by:
initializeToolboxin classToolboxPlugInV2- Throws:
Exception
-
getIcon
public Icon getIcon()
Description copied from class:AbstractPlugInPlugin icon assumed to be 16x16 by default- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractPlugIn
-
getEnableCheck
public EnableCheck 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
-
-