org.openjump.test
Class TestToolsTest.ExampleAbstractPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.test.TestToolsTest.ExampleAbstractPlugIn
- All Implemented Interfaces:
- PlugIn
- Enclosing class:
- TestToolsTest
public static class TestToolsTest.ExampleAbstractPlugIn
- extends AbstractPlugIn
Fixture that outlines a simple plugin which does not use an user dialog.
Configuration: This fixture neither uses a dialog nor execution
parameters. However it may be possible to provide parameters using field
setters or a constructor to use them in #execute(PlugInContext).
Execution: All operations take place directly in #execute(PlugInContext).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestToolsTest.ExampleAbstractPlugIn
public TestToolsTest.ExampleAbstractPlugIn()
execute
public boolean execute(PlugInContext context)
throws java.lang.Exception
- Executes operations.
- Specified by:
execute in interface PlugIn- Overrides:
execute in class AbstractPlugIn
- 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