org.eclipse.ui.views.navigator
Class SortViewAction
java.lang.Object
|
+--org.eclipse.jface.action.Action
|
+--org.eclipse.ui.actions.SelectionProviderAction
|
+--org.eclipse.ui.views.navigator.ResourceNavigatorAction
|
+--org.eclipse.ui.views.navigator.SortViewAction
- All Implemented Interfaces:
- IAction, ISelectionChangedListener
- public class SortViewAction
- extends ResourceNavigatorAction
Implementation of the view sorting actions.
- Since:
- 2.0
Method Summary |
void |
run()
The default implementation of this IAction method
does nothing. |
Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, 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 |
SortViewAction
public SortViewAction(IResourceNavigator navigator,
boolean sortByType)
- Creates the action.
- Parameters:
navigator
- the resource navigatorsortByType
- true
for sort by type, false
for sort by name
run
public void run()
- Description copied from class:
Action
- The default implementation of this
IAction
method
does nothing. Subclasses should override this method
if they do not need information from the triggering event,
or override run(Event)
if they do.
- Specified by:
run
in interface IAction
- Overrides:
run
in class Action
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.