Class AbstractLoadSaveDatasetPlugIn
- java.lang.Object
-
- com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
-
- com.vividsolutions.jump.workbench.plugin.ThreadedBasePlugIn
-
- com.vividsolutions.jump.workbench.datasource.AbstractLoadSaveDatasetPlugIn
-
- All Implemented Interfaces:
EnableChecked,Iconified,PlugIn,Recordable,ShortcutEnabled,ThreadedPlugIn
- Direct Known Subclasses:
AbstractLoadDatasetPlugIn,AbstractSaveDatasetAsPlugIn
public abstract class AbstractLoadSaveDatasetPlugIn extends ThreadedBasePlugIn
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description AbstractLoadSaveDatasetPlugIn()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanexecute(PlugInContext context)Execute the PlugIn.protected Collection<DataSourceQuery>getDataSourceQueries()protected StringgetLastDirectoryKey()protected StringgetLastFormatKey()protected abstract StringgetSelectedFormat()voidinitialize(PlugInContext context)Called when Workbench starts up to allow plugins to initialize themselves.protected abstract voidsetSelectedFormat(String format)protected abstract CollectionshowDialog(WorkbenchContext context)-
Methods inherited from class com.vividsolutions.jump.workbench.plugin.ThreadedBasePlugIn
main
-
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getEnableCheck, getIcon, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, 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.ThreadedPlugIn
run
-
-
-
-
Method Detail
-
getLastFormatKey
protected String getLastFormatKey()
-
getLastDirectoryKey
protected String getLastDirectoryKey()
-
initialize
public void initialize(PlugInContext context) throws Exception
Description copied from interface:PlugInCalled when Workbench starts up to allow plugins to initialize themselves.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractPlugIn- 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:AbstractPlugInExecute the PlugIn.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractPlugIn- Parameters:
context- context of this PlugIn- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
ThreadedPlugIn
-
showDialog
protected abstract Collection showDialog(WorkbenchContext context)
-
getDataSourceQueries
protected Collection<DataSourceQuery> getDataSourceQueries()
-
-