public abstract class RefactoringWizardPage extends WizardPage
RefactoringWizard
.
Adding them to a normal wizard
result in an exception.
Note: this class is not intended to be subclassed by clients. Clients should
extend UserInputWizardPage
.
RefactoringWizard
,
Refactoring
Modifier and Type | Field and Description |
---|---|
static String |
REFACTORING_SETTINGS |
ERROR, INFORMATION, NONE, WARNING
Modifier | Constructor and Description |
---|---|
protected |
RefactoringWizardPage(String name)
Creates a new refactoring wizard page.
|
protected |
RefactoringWizardPage(String name,
boolean wizard)
Creates a new refactoring wizard page.
|
Modifier and Type | Method and Description |
---|---|
protected Refactoring |
getRefactoring()
Returns the refactoring associated with this wizard page.
|
protected IDialogSettings |
getRefactoringSettings()
Returns the refactoring wizard's dialog settings.
|
protected RefactoringWizard |
getRefactoringWizard()
Returns the page's refactoring wizard.
|
protected boolean |
performFinish()
Performs any actions appropriate in response to the user having pressed
the Finish button, or refuse if finishing now is not permitted.
|
void |
setWizard(IWizard newWizard)
Sets the wizard that hosts this wizard page.
|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createControl, dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
public static final String REFACTORING_SETTINGS
protected RefactoringWizardPage(String name, boolean wizard)
Note: this constructor is not intended to be used outside the refactoring framework.
name
- the page's name.wizard
- true
if the page belongs to a conventional wizard, false
otherwiseIWizardPage.getName()
protected RefactoringWizardPage(String name)
name
- the page's name.IWizardPage.getName()
public void setWizard(IWizard newWizard)
RefactoringWizard
.setWizard
in interface IWizardPage
setWizard
in class WizardPage
newWizard
- the wizardIWizardPage.getWizard()
protected Refactoring getRefactoring()
null
if the page isn't been added to any refactoring
wizard yet.null
protected RefactoringWizard getRefactoringWizard()
null
if the
wizard hasn't been set yetprotected boolean performFinish()
true
to indicate the finish request was accepted,
and false
to indicate that the finish request was
refusedprotected IDialogSettings getRefactoringSettings()
null
if no settings are associated with the refactoring wizard dialog
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.