|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a wizard page.
The class WizardPage
provides an abstract implementation
of this interface. However, clients are also free to implement this
interface if WizardPage
does not suit their needs.
Method Summary | |
boolean |
canFlipToNextPage()
Returns whether the next page could be displayed. |
String |
getName()
Returns this page's name. |
IWizardPage |
getNextPage()
Returns the wizard page that would to be shown if the user was to press the Next button. |
IWizardPage |
getPreviousPage()
Returns the wizard page that would to be shown if the user was to press the Back button. |
IWizard |
getWizard()
Returns the wizard that hosts this wizard page. |
boolean |
isPageComplete()
Returns whether this page is complete or not. |
void |
setPreviousPage(IWizardPage page)
Sets the wizard page that would typically be shown if the user was to press the Back button. |
void |
setWizard(IWizard newWizard)
Sets the wizard that hosts this wizard page. |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Method Detail |
public boolean canFlipToNextPage()
true
if the next page could be displayed,
and false
otherwisepublic String getName()
public IWizardPage getNextPage()
null
if nonepublic IWizardPage getPreviousPage()
null
if nonepublic IWizard getWizard()
null
if this page has not been
added to any wizardsetWizard(org.eclipse.jface.wizard.IWizard)
public boolean isPageComplete()
This information is typically used by the wizard to decide when it is okay to finish.
true
if this page is complete, and
false
otherwisepublic void setPreviousPage(IWizardPage page)
This method is called by the container.
page
- the previous wizard pagepublic void setWizard(IWizard newWizard)
newWizard
- the wizardgetWizard()
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |