de.soldin.gt2jump.readwrite
Class GT2ReaderWriterPlugin
java.lang.Object
de.soldin.gt2jump.readwrite.GT2ReaderWriterPlugin
- All Implemented Interfaces:
- com.vividsolutions.jump.workbench.plugin.PlugIn, com.vividsolutions.jump.workbench.plugin.ThreadedPlugIn
- Direct Known Subclasses:
- GT2ReaderPlugin, GT2WriterPlugin
- public abstract class GT2ReaderWriterPlugin
- extends Object
- implements com.vividsolutions.jump.workbench.plugin.ThreadedPlugIn
This abstract class is the base for GT2ReaderPlugin and
GT2WriterPlugin as it contains the common
routines eg. the choice of the gt2 io module per dialog or similar actions.
The Plugin is threaded, but can't take advance from it as the task monitor until now
June 2004 is modal, and therefore doesnt allow other action while it is showing.
As Jon (the jump author) told me in the users mailing listt, jump is not threadsafe
by now, and therefore he'll keep this way until it is.
|
Method Summary |
abstract void |
exec(com.vividsolutions.jump.task.TaskMonitor arg0,
com.vividsolutions.jump.workbench.plugin.PlugInContext arg1)
|
boolean |
execute(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
|
abstract String |
getName()
|
abstract void |
initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
|
void |
run(com.vividsolutions.jump.task.TaskMonitor monitor,
com.vividsolutions.jump.workbench.plugin.PlugInContext context)
|
GT2ReaderWriterPlugin
public GT2ReaderWriterPlugin()
initialize
public abstract void initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
- Specified by:
initialize in interface com.vividsolutions.jump.workbench.plugin.PlugIn
execute
public boolean execute(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
throws Exception
- Specified by:
execute in interface com.vividsolutions.jump.workbench.plugin.PlugIn
- Throws:
Exception
run
public void run(com.vividsolutions.jump.task.TaskMonitor monitor,
com.vividsolutions.jump.workbench.plugin.PlugInContext context)
throws Exception
- Specified by:
run in interface com.vividsolutions.jump.workbench.plugin.ThreadedPlugIn
- Throws:
Exception
exec
public abstract void exec(com.vividsolutions.jump.task.TaskMonitor arg0,
com.vividsolutions.jump.workbench.plugin.PlugInContext arg1)
throws Exception
- Throws:
Exception
getName
public abstract String getName()
- Specified by:
getName in interface com.vividsolutions.jump.workbench.plugin.PlugIn