org.eclipse.ui.views.navigator
Class GotoResourceAction
java.lang.Object
|
+--org.eclipse.jface.action.Action
|
+--org.eclipse.ui.actions.SelectionProviderAction
|
+--org.eclipse.ui.views.navigator.ResourceNavigatorAction
|
+--org.eclipse.ui.views.navigator.GotoResourceAction
- All Implemented Interfaces:
- IAction, ISelectionChangedListener
- public class GotoResourceAction
- extends ResourceNavigatorAction
Implements the go to resource action. Opens a dialog and set
the navigator selection with the resource selected by
the user.
Method Summary |
void |
run()
Collect all resources in the workbench open a dialog asking
the user to select a resource and change the selection in
the navigator. |
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 |
GotoResourceAction
public GotoResourceAction(IResourceNavigator navigator,
String label)
- Creates a new instance of the class.
- Since:
- 2.0
run
public void run()
- Collect all resources in the workbench open a dialog asking
the user to select a resource and change the selection in
the navigator.
- Specified by:
run
in interface IAction
- Overrides:
run
in class Action
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.