Class ResourceNavigatorMoveAction

All Implemented Interfaces:
IAction, ISelectionChangedListener, ISelectionValidator

@Deprecated public class ResourceNavigatorMoveAction extends MoveResourceAction
Deprecated.
as of 3.5, use the Common Navigator Framework classes instead
The ResourceNavigatorMoveAction is a resource move that aso updates the navigator to show the result of the move. It also delegates to MoveProjectAction as needed.
Since:
2.0
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

    • ResourceNavigatorMoveAction

      public ResourceNavigatorMoveAction(Shell shell, StructuredViewer structureViewer)
      Deprecated.
      Create a ResourceNavigatorMoveAction and use the supplied viewer to update the UI.
      Parameters:
      shell - Shell
      structureViewer - StructuredViewer
  • Method Details

    • run

      public void run()
      Deprecated.
      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 runWithEvent(Event) if they do.
      Specified by:
      run in interface IAction
      Overrides:
      run in class MoveResourceAction
      See Also:
    • updateSelection

      protected boolean updateSelection(IStructuredSelection selection)
      Deprecated.
      Description copied from class: CopyResourceAction
      The CopyResourceAction implementation of this SelectionListenerAction method enables this action only if all of the one or more selections are sibling resources which are local (depth infinity).
      Overrides:
      updateSelection in class CopyResourceAction
      Parameters:
      selection - the new selection
      Returns:
      true if the action should be enabled for this selection, and false otherwise