Class AbstractLoadSaveDatasetPlugIn

All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn
Direct Known Subclasses:
AbstractLoadDatasetPlugIn, AbstractSaveDatasetAsPlugIn

public abstract class AbstractLoadSaveDatasetPlugIn extends ThreadedBasePlugIn
  • Constructor Details

    • AbstractLoadSaveDatasetPlugIn

      public AbstractLoadSaveDatasetPlugIn()
  • Method Details

    • getLastFormatKey

      protected String getLastFormatKey()
    • getLastDirectoryKey

      protected String getLastDirectoryKey()
    • initialize

      public void initialize(PlugInContext context) throws Exception
      Description copied from interface: PlugIn
      Called when Workbench starts up to allow plugins to initialize themselves.
      Specified by:
      initialize in interface PlugIn
      Overrides:
      initialize in class AbstractPlugIn
      Parameters:
      context - context of the PlugIn
      Throws:
      Exception - if an exception occur during initialization
    • setSelectedFormat

      protected abstract void setSelectedFormat(String format)
    • getSelectedFormat

      protected abstract String getSelectedFormat()
    • execute

      public boolean execute(PlugInContext context) throws Exception
      Description copied from class: AbstractPlugIn
      Execute the PlugIn.
      Specified by:
      execute in interface PlugIn
      Overrides:
      execute in class AbstractPlugIn
      Parameters:
      context - context of this PlugIn
      Returns:
      true if the PlugIn has been executed
      Throws:
      Exception - if an Exception occurs during execution
      See Also:
    • showDialog

      protected abstract Collection showDialog(WorkbenchContext context)
    • getDataSourceQueries

      protected Collection<DataSourceQuery> getDataSourceQueries()