public abstract class AbstractLoadSaveDatasetPlugIn extends ThreadedBasePlugIn
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
AbstractLoadSaveDatasetPlugIn() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
protected WorkbenchContext |
getContext() |
protected java.util.Collection |
getDataSourceQueries() |
protected java.lang.String |
getLastDirectoryKey() |
protected java.lang.String |
getLastFormatKey() |
protected abstract java.lang.String |
getSelectedFormat() |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
protected abstract void |
setSelectedFormat(java.lang.String format) |
protected abstract java.util.Collection |
showDialog(WorkbenchContext context) |
main
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
run
protected java.lang.String getLastFormatKey()
protected java.lang.String getLastDirectoryKey()
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
protected abstract void setSelectedFormat(java.lang.String format)
protected abstract java.lang.String getSelectedFormat()
protected WorkbenchContext getContext()
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
protected abstract java.util.Collection showDialog(WorkbenchContext context)
protected java.util.Collection getDataSourceQueries()