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
public class RunDatastoreQueryPlugIn extends AbstractAddDatastoreLayerPlugIn
This PlugIn runs a SQL query against a datastore and creates a Layer from the result.
-
-
Field Summary
-
Fields inherited from class org.openjump.core.ui.plugin.AbstractUiPlugIn
enableCheck, workbenchContext
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description RunDatastoreQueryPlugIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayerablecreateLayerable(ConnectionPanel panel, TaskMonitor monitor, PlugInContext context)protected ConnectionPanelcreatePanel(PlugInContext context)IcongetIcon()Get the icon for the plug-in.StringgetName()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 com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn
execute, getDialog, panel, run
-
Methods inherited from class org.openjump.core.ui.plugin.AbstractUiPlugIn
actionPerformed, getEnableCheck, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
-
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
-
-
-
Method Detail
-
createPanel
protected ConnectionPanel createPanel(PlugInContext context)
- Specified by:
createPanelin classAbstractAddDatastoreLayerPlugIn
-
initialize
public void initialize(PlugInContext context) throws Exception
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
public String 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
public Icon getIcon()
Description copied from class:AbstractUiPlugInGet the icon for the plug-in.- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractUiPlugIn- Returns:
- The icon.
-
-