|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.tools.UnionByAttributePlugIn
public class UnionByAttributePlugIn
UnionByAttribute plugin is used to perform selective unions based on attribute values.
All the features having a same attribute value are unioned together.
An option can be used to eliminate null or empty attribute values. Useful to merge,
for example, all named rivers, but not unnamed one, even if they are in the same layer.
An other option makes it possible to total numeric fields of unioned features.
| Constructor Summary | |
|---|---|
UnionByAttributePlugIn()
|
|
| Method Summary | |
|---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin. |
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves. |
void |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task. |
| Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn |
|---|
createName, execute, execute, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnionByAttributePlugIn()
| Method Detail |
|---|
public java.lang.String getName()
PlugIn
getName in interface PlugIngetName in class AbstractPlugIn
public void initialize(PlugInContext context)
throws java.lang.Exception
PlugIn
initialize in interface PlugIninitialize in class AbstractPlugInjava.lang.Exception
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 executionThreadedPlugIn
public void run(TaskMonitor monitor,
PlugInContext context)
throws java.lang.Exception
ThreadedPlugIn
run in interface ThreadedPlugInmonitor - context to which this task can report its progress and
check whether a party has requested its cancellation
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||