com.vividsolutions.jump.workbench.ui.plugin
Class AddNewFeaturesPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.plugin.WKTPlugIn
com.vividsolutions.jump.workbench.ui.plugin.AddNewFeaturesPlugIn
- All Implemented Interfaces:
- PlugIn
public class AddNewFeaturesPlugIn
- extends WKTPlugIn
|
Field Summary |
static javax.swing.ImageIcon |
ICON
|
| Fields inherited from class com.vividsolutions.jump.workbench.ui.plugin.WKTPlugIn |
layer |
| Methods inherited from class com.vividsolutions.jump.workbench.ui.plugin.WKTPlugIn |
apply |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ICON
public static final javax.swing.ImageIcon ICON
AddNewFeaturesPlugIn
public AddNewFeaturesPlugIn()
layer
protected Layer layer(PlugInContext context)
- Specified by:
layer in class WKTPlugIn
execute
public boolean execute(PlugInContext context)
throws java.lang.Exception
- Description copied from interface:
PlugIn
- Performs the action for this plugin.
For threaded plugins with dialogs, this method contains the code to
invoke the dialog. If the user cancels the dialog, this method
should return
false to prevent the run method
from being called.
- Specified by:
execute in interface PlugIn- Overrides:
execute in class WKTPlugIn
- Returns:
- true if the action completed, false if it was aborted.
Used by ThreadedPlugIns to indicate that their #run method needn't be
called next.
- Throws:
java.lang.Exception - if a problem occurs during plug-in execution- See Also:
ThreadedPlugIn
apply
protected void apply(FeatureCollection c,
PlugInContext context)
- Specified by:
apply in class WKTPlugIn
createDialog
protected EnterWKTDialog createDialog(PlugInContext context)
- Overrides:
createDialog in class WKTPlugIn
createEnableCheck
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)