public class EditSelectedSidePlugIn extends AbstractPlugIn
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
EditSelectedSidePlugIn() |
Modifier and Type | Method and Description |
---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
EnableCheck |
noMultiShapesMayBeSelectedCheck(WorkbenchContext workbenchContext) |
EnableCheck |
noPointsMayBeSelectedCheck(WorkbenchContext workbenchContext) |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public EnableCheck noPointsMayBeSelectedCheck(WorkbenchContext workbenchContext)
public EnableCheck noMultiShapesMayBeSelectedCheck(WorkbenchContext workbenchContext)
public MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)