java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ltk.ui.refactoring.RefactoringWizardPage
org.eclipse.ltk.ui.refactoring.UserInputWizardPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
- public abstract class UserInputWizardPage
- extends RefactoringWizardPage
An abstract wizard page that is to be used to implement user input pages presented
inside a refactoring wizard.
User input pages are shown at the beginning of a wizard. As soon as the last input
page is left the refactoring's condition checking is performed. Depending on the
outcome an error page or the preview page is shown.
Clients may extend this class.
- Since:
- 3.0
| Fields inherited from class org.eclipse.jface.wizard.WizardPage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
fIsLastUserInputPage
private boolean fIsLastUserInputPage
UserInputWizardPage
public UserInputWizardPage(java.lang.String name)
- Creates a new user input page.
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.
computeSuccessorPage
protected final org.eclipse.jface.wizard.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.
setPageComplete
public void setPageComplete(org.eclipse.ltk.core.refactoring.RefactoringStatus status)
- Sets the page's complete status depending on the given
ReactoringStatus.
setVisible
public void setVisible(boolean visible)
- null
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage()
- null
canFlipToNextPage
public boolean canFlipToNextPage()
- null
performFinish
protected boolean performFinish()
- null
- Overrides:
performFinish in class RefactoringWizardPage
markAsLastUserInputPage
void markAsLastUserInputPage()
getCorrespondingIStatusSeverity
private static int getCorrespondingIStatusSeverity(int severity)