public class EditSelectedFeaturePlugIn extends WKTPlugIn
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
ICON |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
EditSelectedFeaturePlugIn() |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(FeatureCollection c,
PlugInContext context) |
protected void |
apply(java.lang.String wkt,
PlugInContext context) |
protected EnterWKTDialog |
createDialog(PlugInContext context) |
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
boolean |
execute(PlugInContext context,
Feature feature,
boolean editable) |
javax.swing.ImageIcon |
getIcon() |
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item
|
protected Layer |
layer(PlugInContext context) |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
protected Layer layer(PlugInContext context)
public java.lang.String getName()
PlugIn
getName
in interface PlugIn
getName
in class AbstractPlugIn
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
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 WKTPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public boolean execute(PlugInContext context, Feature feature, boolean editable) throws java.lang.Exception
java.lang.Exception
protected void apply(java.lang.String wkt, PlugInContext context) throws java.lang.Exception
protected void apply(FeatureCollection c, PlugInContext context) throws WorkbenchException
apply
in class WKTPlugIn
WorkbenchException
protected EnterWKTDialog createDialog(PlugInContext context)
createDialog
in class WKTPlugIn
public javax.swing.ImageIcon getIcon()