|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.ui.texteditor.ResourceAction
org.eclipse.datatools.sqltools.sqleditor.internal.actions.SQLDisconnectAction
public class SQLDisconnectAction
This class implements the "Disconnect" action for the SQL Editor.
SQLEditorActionContributor
,
ResourceAction
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
SQLDisconnectAction(java.util.ResourceBundle bundle,
java.lang.String prefix)
Creates an instance of this class using the given resource bundle and prefix of a set of resources within the bundle. |
Method Summary | |
---|---|
SQLEditor |
getSQLEditor()
Gets the SQLEditor instance associated with this action. |
void |
run()
Runs this action. |
void |
setSQLEditor(SQLEditor sqlEditor)
Sets the SQLEditor instance associated with this action to the given object. |
Methods inherited from class org.eclipse.ui.texteditor.ResourceAction |
---|
setHelpContextId |
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, isEnabled, 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, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public SQLDisconnectAction(java.util.ResourceBundle bundle, java.lang.String prefix)
bundle
- the resource bundle to useprefix
- the resource prefix to useMethod Detail |
---|
public SQLEditor getSQLEditor()
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
IAction.run()
public void setSQLEditor(SQLEditor sqlEditor)
sqlEditor
- the SQLEditor instance for this action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |