Class WKTPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.plugin.WKTPlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled
- Direct Known Subclasses:
AddNewFeaturesPlugIn, EditSelectedFeaturePlugIn
Base class for PlugIns that ask the user to enter Well-Known Text.
-
Field Summary
FieldsFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidapply(FeatureCollection c, PlugInContext context) protected voidapply(String wkt, PlugInContext context) protected EnterWKTDialogcreateDialog(PlugInContext context) booleanexecute(PlugInContext context) Execute the PlugIn.protected abstract Layerlayer(PlugInContext context) Methods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getEnableCheck, getIcon, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, initialize, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Field Details
-
layer
-
-
Constructor Details
-
WKTPlugIn
public WKTPlugIn()
-
-
Method Details
-
layer
-
execute
Description copied from class:AbstractPlugInExecute the PlugIn.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractPlugIn- Parameters:
context- context of this PlugIn- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
-
apply
- Throws:
WorkbenchException
-
createDialog
-
apply
- Throws:
Exception
-