public class AddNewFeaturesPlugIn extends WKTPlugIn
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
ICON |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
AddNewFeaturesPlugIn() |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(FeatureCollection c,
PlugInContext context) |
protected EnterWKTDialog |
createDialog(PlugInContext context) |
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
protected Layer |
layer(PlugInContext context) |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
protected Layer layer(PlugInContext context)
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
protected void apply(FeatureCollection c, PlugInContext context)
protected EnterWKTDialog createDialog(PlugInContext context)
createDialog
in class WKTPlugIn
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)