Class RenameElementWizard

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard

    public class RenameElementWizard
    extends org.eclipse.ltk.ui.refactoring.RefactoringWizard
    Copied from Xtext's RenameElementWizard. Fixes a few minor issues with the original implementation.
    Restriction:
    This class is not intended to be extended by clients
    • Field Summary

      • Fields inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizard

        CHECK_INITIAL_CONDITIONS_ON_OPEN, DIALOG_BASED_UESR_INTERFACE, DIALOG_BASED_USER_INTERFACE, NO_BACK_BUTTON_ON_STATUS_DIALOG, NO_PREVIEW_PAGE, NONE, PREVIEW_EXPAND_FIRST_NODE, SHOW_HELP_CONTROL, WIZARD_BASED_USER_INTERFACE, YES_NO_BUTTON_STYLE
      • Fields inherited from class org.eclipse.jface.wizard.Wizard

        DEFAULT_IMAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      RenameElementWizard​(org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring refactoring, boolean previewOnly, String title)
      Constructs a rename element wizard.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addUserInputPages()  
      • Methods inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizard

        addPage, addPages, canFinish, getChange, getDefaultPageTitle, getMessageLineWidthInChars, getPreviousPage, getRefactoring, getRefactoringContext, getStartingPage, getWizardFlags, internalCreateChange, internalGetExpandFirstNode, internalHasPreviewPage, internalIsYesNoStyle, internalPerformFinish, internalSetChange, internalSetPreviewShown, internalShowBackButtonOnStatusDialog, performCancel, performFinish, setChangeCreationCancelable, setDefaultPageTitle, setForcePreviewReview, setHelpAvailable, setInitialComputationContext, setInitialConditionCheckingStatus
      • Methods inherited from class org.eclipse.jface.wizard.Wizard

        createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
    • Constructor Detail

      • RenameElementWizard

        public RenameElementWizard​(org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring refactoring,
                                   boolean previewOnly,
                                   String title)
        Constructs a rename element wizard.
        Parameters:
        refactoring - rename refactoring (not null)
        previewOnly - whether only preview page is to be shown (without user input pages)
        title - window title
    • Method Detail

      • addUserInputPages

        protected void addUserInputPages()
        Specified by:
        addUserInputPages in class org.eclipse.ltk.ui.refactoring.RefactoringWizard