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, toStringprotected Layer layer
protected abstract 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 AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInprotected abstract void apply(FeatureCollection c, PlugInContext context) throws WorkbenchException
WorkbenchExceptionprotected EnterWKTDialog createDialog(PlugInContext context)
protected void apply(java.lang.String wkt,
PlugInContext context)
throws java.lang.Exception
java.lang.Exception