com.vividsolutions.jump.workbench.datasource
Class AbstractLoadDatasetPlugIn

java.lang.Object
  extended by com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
      extended by com.vividsolutions.jump.workbench.plugin.ThreadedBasePlugIn
          extended by com.vividsolutions.jump.workbench.datasource.AbstractLoadSaveDatasetPlugIn
              extended by com.vividsolutions.jump.workbench.datasource.AbstractLoadDatasetPlugIn
All Implemented Interfaces:
PlugIn, ThreadedPlugIn

public abstract class AbstractLoadDatasetPlugIn
extends AbstractLoadSaveDatasetPlugIn


Constructor Summary
AbstractLoadDatasetPlugIn()
           
 
Method Summary
static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
           
 void run(TaskMonitor monitor, PlugInContext context)
          Runs the task.
 
Methods inherited from class com.vividsolutions.jump.workbench.datasource.AbstractLoadSaveDatasetPlugIn
execute, getContext, getDataSourceQueries, getLastDirectoryKey, getLastFormatKey, getSelectedFormat, initialize, setSelectedFormat, showDialog
 
Methods inherited from class com.vividsolutions.jump.workbench.plugin.ThreadedBasePlugIn
main
 
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
createName, execute, execute, getName, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.vividsolutions.jump.workbench.plugin.PlugIn
getName
 

Constructor Detail

AbstractLoadDatasetPlugIn

public AbstractLoadDatasetPlugIn()
Method Detail

run

public void run(TaskMonitor monitor,
                PlugInContext context)
         throws java.lang.Exception
Description copied from interface: ThreadedPlugIn
Runs the task. This method will be executed in a separate thread, so that the GUI remains responsive (but only partially so, as a modal progress dialog will be in the way). Don't call GUI classes in this method as it is not executed on the GUI thread.

Parameters:
monitor - context to which this task can report its progress and check whether a party has requested its cancellation
Throws:
java.lang.Exception

createEnableCheck

public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)