|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.dialogs.DialogPage | +--org.eclipse.jface.wizard.WizardPage | +--org.eclipse.jface.wizard.WizardSelectionPage
An abstract implementation of a wizard page that manages a set of embedded wizards.
A wizard selection page should present a list of wizard nodes
corresponding to other wizards. When the end user selects one of
them from the list, the first page of the selected wizard becomes
the next page. The only new methods introduced by this class are
getSelectedNode
and setSelectedNode
.
Otherwise, the subclass contract is the same as WizardPage
.
Field Summary |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
protected |
WizardSelectionPage(String pageName)
Creates a new wizard selection page with the given name, and with no title or image. |
Method Summary | |
boolean |
canFlipToNextPage()
The WizardSelectionPage implementation of
this IWizardPage method returns true
if there is a selected node. |
void |
dispose()
The WizardSelectionPage implementation of an IDialogPage
method disposes of all nested wizards. |
IWizardPage |
getNextPage()
The WizardSelectionPage implementation of
this IWizardPage method returns the first page
of the currently selected wizard if there is one. |
protected IWizardNode |
getSelectedNode()
Returns the currently selected wizard node within this page. |
protected void |
setSelectedNode(IWizardNode node)
Sets or clears the currently selected wizard node within this page. |
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, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setControl, setMessage, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
Constructor Detail |
protected WizardSelectionPage(String pageName)
pageName
- the name of the pageMethod Detail |
public boolean canFlipToNextPage()
WizardSelectionPage
implementation of
this IWizardPage
method returns true
if there is a selected node.
canFlipToNextPage
in interface IWizardPage
canFlipToNextPage
in class WizardPage
WizardPage.getNextPage()
,
WizardPage.isPageComplete()
public void dispose()
WizardSelectionPage
implementation of an IDialogPage
method disposes of all nested wizards. Subclasses may extend.
dispose
in interface IDialogPage
dispose
in class DialogPage
public IWizardPage getNextPage()
WizardSelectionPage
implementation of
this IWizardPage
method returns the first page
of the currently selected wizard if there is one.
getNextPage
in interface IWizardPage
getNextPage
in class WizardPage
null
if noneprotected IWizardNode getSelectedNode()
null
if no node is selectedprotected void setSelectedNode(IWizardNode node)
node
- the wizard node, or null
to clear
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |