Package com.iizigo.db.editor
Class CustomExecuteAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.datatools.sqltools.sqleditor.internal.actions.BaseExecuteAction
org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
com.iizigo.db.editor.CustomExecuteAction
public class CustomExecuteAction extends org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
Customized Execute action providing VS Field variables, and fixing command execution. Code copied (and modified) and overridden from super class.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.datatools.sqltools.sqleditor.internal.actions.BaseExecuteAction
_job
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
Method Summary
Modifier and TypeMethodDescriptionboolean
Overrides the enabled state.void
run()
void
setSQLBuilder
(org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder sqlBuilder) void
update()
Overrides the update state.Methods inherited from class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
getDatabaseIdentifier
Methods inherited from class org.eclipse.datatools.sqltools.sqleditor.internal.actions.BaseExecuteAction
getEditor, getExecutionConnection, getVariableDeclarations, isSplitByDefault, processError, promptVariable
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Method Details
isEnabled
public boolean isEnabled()Overrides the enabled state.update
public void update()Overrides the update state.setSQLBuilder
public void setSQLBuilder(org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder sqlBuilder) - Overrides:
setSQLBuilder
in classorg.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
getPostRun
- Overrides:
getPostRun
in classorg.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
getSQLStatements
- Overrides:
getSQLStatements
in classorg.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
run
public void run()