|
||||||||||
| 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.SQLConnectAction
public class SQLConnectAction
This class implements the "Connect" action for the SQL Editor.
SQLEditorActionContributor,
ResourceAction| Field Summary | |
|---|---|
static java.lang.String |
CONNECTION
|
| 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 | |
|---|---|
SQLConnectAction(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 | |
|---|---|
ISQLEditorConnectionInfo |
getConnectionInfo()
Gets the current ISQLEditorConnectionInfo object associated with this
action. |
SQLEditor |
getSQLEditor()
Gets the SQLEditor instance associated with this action. |
void |
run()
Runs this action. |
void |
setConnectionInfo(ISQLEditorConnectionInfo connInfo)
Sets the current ISQLEditorConnectionInfo object to the given object. |
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 |
| Field Detail |
|---|
public static final java.lang.String CONNECTION
| Constructor Detail |
|---|
public SQLConnectAction(java.util.ResourceBundle bundle,
java.lang.String prefix)
bundle - the resource bundle to useprefix - the resource prefix to use| Method Detail |
|---|
public ISQLEditorConnectionInfo getConnectionInfo()
ISQLEditorConnectionInfo object associated with this
action.
ISQLEditorConnectionInfo objectpublic SQLEditor getSQLEditor()
public void run()
run in interface org.eclipse.jface.action.IActionrun in class org.eclipse.jface.action.ActionIAction.run()public void setConnectionInfo(ISQLEditorConnectionInfo connInfo)
ISQLEditorConnectionInfo object to the given object.
connInfo - the ISQLEditorConnectionInfo object to setpublic 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 | |||||||||