public abstract class WKTPlugIn extends AbstractPlugIn
Modifier and Type | Field and Description |
---|---|
protected Layer |
layer |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
WKTPlugIn() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
apply(FeatureCollection c,
PlugInContext context) |
protected void |
apply(java.lang.String wkt,
PlugInContext context) |
protected EnterWKTDialog |
createDialog(PlugInContext context) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
protected abstract 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
protected abstract 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 AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
protected abstract void apply(FeatureCollection c, PlugInContext context) throws WorkbenchException
WorkbenchException
protected EnterWKTDialog createDialog(PlugInContext context)
protected void apply(java.lang.String wkt, PlugInContext context) throws java.lang.Exception
java.lang.Exception