Class MoveProjectAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener

    public class MoveProjectAction
    extends CopyProjectAction
    The MoveProjectAction is the action designed to move projects specifically as they have different semantics from other resources.
    • Constructor Detail

      • MoveProjectAction

        @Deprecated
        public MoveProjectAction​(Shell shell)
        Creates a new project move action and initializes it.
        Parameters:
        shell - the shell for any dialogs
      • MoveProjectAction

        public MoveProjectAction​(IShellProvider provider)
        Creates a new project move action and initializes it.
        Parameters:
        provider - the IShellProvider for any dialogs
        Since:
        3.4
    • Method Detail

      • getErrorsTitle

        @Deprecated
        protected java.lang.String getErrorsTitle()
        Deprecated.
        As of 3.3, the error handling is performed by the undoable operation which handles the move.
        Return the title of the errors dialog.
        Overrides:
        getErrorsTitle in class CopyProjectAction
        Returns:
        java.lang.String
      • queryDestinationParameters

        protected java.lang.Object[] queryDestinationParameters​(IProject project)
        Query for a new project destination using the parameters in the existing project.
        Overrides:
        queryDestinationParameters in class CopyProjectAction
        Parameters:
        project - the project we are going to move.
        Returns:
        Object[] or null if the selection is cancelled