com.ibm.etools.systems.core.ui.view.team
Class SystemTeamViewRefreshAllAction
java.lang.Object
Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.view.team.SystemTeamViewRefreshAllAction
- All Implemented Interfaces:
- ISystemAction
- public class SystemTeamViewRefreshAllAction
- extends SystemBaseAction
The action allows users to refresh the entire System Team tree view
- See Also:
- Serialized Form
Method Summary |
void |
run()
This is the method called when the user selects this action. |
boolean |
updateSelection(IStructuredSelection selection)
First opportunity to decide if the action should be enabled or not based on the
current selection. |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, checkObjectType, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
SystemTeamViewRefreshAllAction
public SystemTeamViewRefreshAllAction(Shell parent,
SystemTeamViewPart teamView)
- Constructor for SystemRefreshAllAction
updateSelection
public boolean updateSelection(IStructuredSelection selection)
- Description copied from class:
SystemBaseAction
- First opportunity to decide if the action should be enabled or not based on the
current selection. Called by default implementation of selectionChanged, which
converts the ISelection to an IStructuredSelection, which is all we support. The
return result is used to enable or disable this action.
The default implementation of this method:
- Returns false if calling checkObjectType on any object in the selection list returns false.
- Returns true otherwise.
If desired, override this method for a different algorithm to decide enablement.
- Overrides:
updateSelection
in class SystemBaseAction
- See Also:
SystemBaseAction.updateSelection(IStructuredSelection)
run
public void run()
- This is the method called when the user selects this action.
- Overrides:
run
in class SystemBaseAction
- See Also:
Action
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.