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, toStringprotected Layer layer(PlugInContext context)
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class WKTPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInprotected void apply(FeatureCollection c, PlugInContext context)
protected EnterWKTDialog createDialog(PlugInContext context)
createDialog in class WKTPlugInpublic static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)