Class CustomRefactoringWizard

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard
    Direct Known Subclasses:
    BslRenameElementWizard, DtRefactoringDeleteWizard, DtRefactoringRenameWizard

    public abstract class CustomRefactoringWizard
    extends org.eclipse.ltk.ui.refactoring.RefactoringWizard
    Implemetation of RefactoringWizard. In this implementation PreviewWizardPage will be replaced with CustomPreviewWizardPage
    • 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
      CustomRefactoringWizard​(org.eclipse.ltk.core.refactoring.RefactoringContext refactoringContext, int flags)
      Creates a new refactoring wizard for the given refactoring context.
      CustomRefactoringWizard​(org.eclipse.ltk.core.refactoring.Refactoring refactoring, int flags)
      Creates a new refactoring wizard for the given refactoring.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jface.wizard.IWizardPage getStartingPage()  
      protected void replacePreviewPage()
      Replaces PreviewWizardPage to CustomPreviewWizardPage
      • Methods inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizard

        addPage, addPages, addUserInputPages, canFinish, getChange, getDefaultPageTitle, getMessageLineWidthInChars, getPreviousPage, getRefactoring, getRefactoringContext, 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

      • CustomRefactoringWizard

        public CustomRefactoringWizard​(org.eclipse.ltk.core.refactoring.Refactoring refactoring,
                                       int flags)
        Creates a new refactoring wizard for the given refactoring.
        Parameters:
        refactoring - the refactoring the wizard is presenting, can't be null
        flags - flags specifying the behavior of the wizard. If neither WIZARD_BASED_USER_INTERFACE nor DIALOG_BASED_UESR_INTERFACE is specified then WIZARD_BASED_USER_INTERFACE will be taken as a default.
      • CustomRefactoringWizard

        public CustomRefactoringWizard​(org.eclipse.ltk.core.refactoring.RefactoringContext refactoringContext,
                                       int flags)
        Creates a new refactoring wizard for the given refactoring context.
        Parameters:
        refactoringContext - the refactoringContext the wizard is presenting
        flags - flags specifying the behavior of the wizard. If neither WIZARD_BASED_USER_INTERFACE nor DIALOG_BASED_UESR_INTERFACE is specified then WIZARD_BASED_USER_INTERFACE will be taken as a default.
        Since:
        3.7
    • Method Detail

      • getStartingPage

        public org.eclipse.jface.wizard.IWizardPage getStartingPage()
        Specified by:
        getStartingPage in interface org.eclipse.jface.wizard.IWizard
        Overrides:
        getStartingPage in class org.eclipse.ltk.ui.refactoring.RefactoringWizard
      • replacePreviewPage

        protected void replacePreviewPage()
        Replaces PreviewWizardPage to CustomPreviewWizardPage