org.eclipse.rse.ui.actions
Class SystemUpdateConnectionAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.rse.ui.actions.SystemBaseAction
org.eclipse.rse.ui.actions.SystemBaseDialogAction
org.eclipse.rse.ui.actions.SystemUpdateConnectionAction
- All Implemented Interfaces:
- IAction, ISelectionChangedListener, ISystemAction, ISystemDialogAction
- public class SystemUpdateConnectionAction
- extends SystemBaseDialogAction
The action that displays the Change Connection dialog
THIS DIALOG AND ITS ACTION ARE NO LONGER USED. THEY ARE REPLACED WITH A PROPERTIES DIALOG.
| 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 |
boolean |
checkObjectType(Object selectedObject)
Called by SystemBaseAction when selection is set.
|
protected Dialog |
createDialog(Shell parent)
If you decide to use the supplied run method as is,
then you must override this method to create and return
the dialog that is displayed by the default run method
implementation.
|
protected Object |
getDialogValue(Dialog dlg)
Required by parent but we do not use it so return null; |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseDialogAction |
getDialogHelpContextId, getNeedsProgressMonitor, getProcessAllSelections, getValue, run, setDialogHelp, setNeedsProgressMonitor, setProcessAllSelections, setValue, wasCancelled, wasNeedsProgressMonitorSet |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseAction |
allowOnMultipleSelection, getAdapter, getContextMenuGroup, getCurrentTreeView, getFirstSelection, getHelpContextId, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getSystemConnection, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setHost, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setTracing, setTracing, setViewer, updateSelection |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.ui.actions.ISystemAction |
allowOnMultipleSelection, getContextMenuGroup, getHelpContextId, getSelection, getShell, getViewer, isDummy, isSelectionSensitive, setContextMenuGroup, setHelp, setInputs, setSelection, setSelectionSensitive, setShell, setViewer |
| Methods inherited from interface org.eclipse.jface.action.IAction |
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
SystemUpdateConnectionAction
public SystemUpdateConnectionAction(Shell parent)
- Constructor for SystemUpdateConnectionAction
checkObjectType
public boolean checkObjectType(Object selectedObject)
- Called by SystemBaseAction when selection is set.
Our opportunity to verify we are allowed for this selected type.
- Overrides:
checkObjectType in class SystemBaseAction
createDialog
protected Dialog createDialog(Shell parent)
- If you decide to use the supplied run method as is,
then you must override this method to create and return
the dialog that is displayed by the default run method
implementation.
If you override run with your own, then
simply implement this to return null as it won't be used.
- Specified by:
createDialog in class SystemBaseDialogAction
- See Also:
SystemBaseDialogAction.run()
getDialogValue
protected Object getDialogValue(Dialog dlg)
- Required by parent but we do not use it so return null;
- Specified by:
getDialogValue in class SystemBaseDialogAction
- Parameters:
dlg - The dialog object, after it has returned from open.
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.