com.ibm.etools.systems.core.ui.actions
Class SystemClearAllPasswordsAction
java.lang.Object
Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.actions.SystemClearAllPasswordsAction
- All Implemented Interfaces:
- ISystemAction
- public class SystemClearAllPasswordsAction
- extends SystemBaseAction
Action to clear cached passwords for all subsystems in a connection.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, arrowCursor, copyright, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
Method Summary |
boolean |
checkObjectType(Object selectedObject)
Second and easiest opportunity to decide if the action should be enabled or not based
on the current selection. |
void |
run()
This is the method called when the user selects this action.
|
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer, updateSelection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemClearAllPasswordsAction
public SystemClearAllPasswordsAction(Shell shell)
- Constructor.
- Parameters:
shell
- the parent shell.
checkObjectType
public boolean checkObjectType(Object selectedObject)
- Description copied from class:
SystemBaseAction
- Second and easiest opportunity to decide if the action should be enabled or not based
on the current selection. Called by default implementation of updateSelection, once for
each item in the selection. If any call to this returns false, the action is disabled.
The default implementation returns true.
- Overrides:
checkObjectType
in class SystemBaseAction
- See Also:
SystemBaseAction.checkObjectType(java.lang.Object)
run
public void run()
- Description copied from class:
SystemBaseAction
- This is the method called when the user selects this action.
Child classes need to override this. If you need the parent shell,
call getShell. If you need to know the current selection, call
getSelection(), or getFirstSelection() followed by getNextSelection()
until null is returned.
- Overrides:
run
in class SystemBaseAction
- See Also:
IAction
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.