Class RunDatastoreQueryPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.AbstractUiPlugIn
org.openjump.core.ui.plugin.AbstractThreadedUiPlugIn
com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn
com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn, ActionListener, EventListener
- Direct Known Subclasses:
EditDataStoreQueryPlugIn
This PlugIn runs a SQL query against a datastore and creates a Layer
from the result.
-
Field Summary
Fields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayerablecreateLayerable(ConnectionPanel panel, TaskMonitor monitor, PlugInContext context) protected ConnectionPanelcreatePanel(PlugInContext context) getIcon()Get the icon for the plug-in.getName()Get the name of the plug-in.voidinitialize(PlugInContext context) Method to be overridden by implementations to initialize the plug-in.Methods inherited from class AbstractAddDatastoreLayerPlugIn
execute, getDialog, panel, runMethods inherited from class AbstractUiPlugIn
actionPerformed, getEnableCheck, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Constructor Details
-
RunDatastoreQueryPlugIn
public RunDatastoreQueryPlugIn()
-
-
Method Details
-
createPanel
- Specified by:
createPanelin classAbstractAddDatastoreLayerPlugIn
-
initialize
Description copied from class:AbstractUiPlugInMethod to be overridden by implementations to initialize the plug-in. Plug-ins must invoke super.initialize().- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractUiPlugIn- Parameters:
context- The plug-in context.- Throws:
Exception- if an exception occur during initialization
-
createLayerable
protected Layerable createLayerable(ConnectionPanel panel, TaskMonitor monitor, PlugInContext context) throws Exception - Specified by:
createLayerablein classAbstractAddDatastoreLayerPlugIn- Throws:
Exception
-
getName
Description copied from class:AbstractUiPlugInGet the name of the plug-in. If a name was not specified ask super class.- Specified by:
getNamein interfacePlugIn- Overrides:
getNamein classAbstractUiPlugIn- Returns:
- The plug-in name.
-
getIcon
Description copied from class:AbstractUiPlugInGet the icon for the plug-in.- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractUiPlugIn- Returns:
- The icon.
-