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
    • Constructor Detail

      • 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 Detail

      • 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