Package org.openjump.core.ui.plugin.view
Class EasyButtonsPlugin
- java.lang.Object
-
- com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
-
- com.vividsolutions.jump.workbench.ui.toolbox.ToolboxPlugIn
-
- org.openjump.core.ui.plugin.view.EasyButtonsPlugin
-
- All Implemented Interfaces:
CheckBoxed
,EnableChecked
,Iconified
,PlugIn
,Recordable
,ShortcutEnabled
public class EasyButtonsPlugin extends ToolboxPlugIn
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description EasyButtonsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Icon
getIcon()
Plugin icon assumed to be 16x16 by defaultString
getName()
Returns a very brief description of this PlugIn e.g.void
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.protected void
initializeToolbox(ToolboxDialog toolbox)
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.toolbox.ToolboxPlugIn
createMainMenuItem, execute, getEnableCheck, getToolbox, 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
-
initialize
public void initialize(PlugInContext context) throws Exception
Description copied from interface:PlugIn
Called when Workbench starts up to allow plugins to initialize themselves.- Specified by:
initialize
in interfacePlugIn
- Overrides:
initialize
in classAbstractPlugIn
- Parameters:
context
- context of the PlugIn- Throws:
Exception
- if an exception occur during initialization
-
getName
public String getName()
Description copied from interface:PlugIn
Returns a very brief description of this PlugIn e.g. for display as a menu item- Specified by:
getName
in interfacePlugIn
- Overrides:
getName
in classAbstractPlugIn
- Returns:
- the class name, minus "PlugIn", with spaces inserted at the appropriate point before each uppercase+lowercase and lowercase+uppercase combination.
-
getIcon
public Icon getIcon()
Description copied from class:AbstractPlugIn
Plugin icon assumed to be 16x16 by default- Specified by:
getIcon
in interfaceIconified
- Overrides:
getIcon
in classAbstractPlugIn
-
initializeToolbox
protected void initializeToolbox(ToolboxDialog toolbox)
- Specified by:
initializeToolbox
in classToolboxPlugIn
-
-