Class GotoResourceAction

All Implemented Interfaces:
IAction, ISelectionChangedListener

@Deprecated(forRemoval=true) public class GotoResourceAction extends ResourceNavigatorAction
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead
Implements the go to resource action. Opens a dialog and set the navigator selection with the resource selected by the user.
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be referenced by clients. Planned to be deleted, please see Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=549953
Restriction:
This class is not intended to be instantiated by clients.
  • Constructor Details

    • GotoResourceAction

      public GotoResourceAction(IResourceNavigator navigator, String label)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new instance of the class.
      Parameters:
      navigator - the navigator
      label - the label
      Since:
      2.0
  • Method Details

    • run

      public void run()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
      See Also: