Class EditDataStoreQueryPlugIn
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
org.openjump.core.ui.plugin.datastore.EditDataStoreQueryPlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn, ActionListener, EventListener
EditDatastoreQueryPlugIn load the query used to create a layer
in the RunDatastoreQueryPanel.- Author:
- Michaël Michaud
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ImageIconprotected static final intstatic final StringFields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEnableCheck(WorkbenchContext workbenchContext) protected ConnectionPanelcreatePanel(PlugInContext context) booleanexecute(PlugInContext context) Method to be overridden by implementations to execute 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 RunDatastoreQueryPlugIn
createLayerable, getIconMethods inherited from class AbstractAddDatastoreLayerPlugIn
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
-
Field Details
-
ICON
-
SQL_QUERY_KEY
- See Also:
-
CONNECTION_DESCRIPTOR_KEY
- See Also:
-
MAIN_COLUMN_WIDTH
protected static final int MAIN_COLUMN_WIDTH- See Also:
-
-
Constructor Details
-
EditDataStoreQueryPlugIn
public EditDataStoreQueryPlugIn()
-
-
Method Details
-
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 classRunDatastoreQueryPlugIn- Parameters:
context- The plug-in context.- Throws:
Exception- if an exception occur during initialization
-
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 classRunDatastoreQueryPlugIn- Returns:
- The plug-in name.
-
execute
Description copied from class:AbstractUiPlugInMethod to be overridden by implementations to execute the plug-in.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractAddDatastoreLayerPlugIn- Parameters:
context- The plug-in context.- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
-
createPanel
- Overrides:
createPanelin classRunDatastoreQueryPlugIn
-
createEnableCheck
-