Class UserInputWizardPage

    • Constructor Detail

      • UserInputWizardPage

        public UserInputWizardPage​(String name)
        Creates a new user input page.
        name - the page's name.
    • Method Detail

      • isLastUserInputPage

        public boolean isLastUserInputPage()
        Returns true if this is the last user input page in the stack of input pages; false otherwise. The last user input page is not necessarily the page after which the refactoring's precondition has to be triggered. For wizards implementing a dynamic work flow, this may happen for other pages as well.
        whether this is the last user input page or not.
      • computeSuccessorPage

        protected final IWizardPage computeSuccessorPage()
        Triggers the refactoring's condition checking and returns either the error wizard page or a preview page, depending on the outcome of the precondition checking.
        either the error or the preview page, depending on the refactoring's precondition checking
      • setPageComplete

        public void setPageComplete​(RefactoringStatus status)
        Sets the page's complete status depending on the given ReactoringStatus.
        status - the RefactoringStatus
      • setVisible

        public void setVisible​(boolean visible)
        Description copied from class: DialogPage
        The DialogPage implementation of this IDialogPage method sets the control to the given visibility state. Subclasses may extend.
        Specified by:
        setVisible in interface IDialogPage
        setVisible in class DialogPage
        visible - true to make this page visible, and false to hide it
      • getNextPage

        public IWizardPage getNextPage()
        Description copied from interface: IWizardPage
        Returns the wizard page that would to be shown if the user was to press the Next button.
        Specified by:
        getNextPage in interface IWizardPage
        getNextPage in class WizardPage
        the next wizard page, or null if none
      • performFinish

        protected boolean performFinish()
        Description copied from class: RefactoringWizardPage
        Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. This method is called by the refactoring wizard on the currently active refactoring wizard page.
        performFinish in class RefactoringWizardPage
        true to indicate the finish request was accepted, and false to indicate that the finish request was refused