Class CustomRefactoringWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- org.eclipse.ltk.ui.refactoring.RefactoringWizard
-
- com._1c.g5.v8.dt.lcore.ui.refactoring.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 ofRefactoringWizard
. In this implementationPreviewWizardPage
will be replaced withCustomPreviewWizardPage
-
-
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
-
-
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()
ReplacesPreviewWizardPage
toCustomPreviewWizardPage
-
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 benull
flags
- flags specifying the behavior of the wizard. If neitherWIZARD_BASED_USER_INTERFACE
norDIALOG_BASED_UESR_INTERFACE
is specified thenWIZARD_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 presentingflags
- flags specifying the behavior of the wizard. If neitherWIZARD_BASED_USER_INTERFACE
norDIALOG_BASED_UESR_INTERFACE
is specified thenWIZARD_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 interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
getStartingPage
in classorg.eclipse.ltk.ui.refactoring.RefactoringWizard
-
replacePreviewPage
protected void replacePreviewPage()
ReplacesPreviewWizardPage
toCustomPreviewWizardPage
-
-