public abstract class WizardSelectionPage extends WizardPage
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.
ERROR, INFORMATION, NONE, WARNING| Modifier | Constructor and Description |
|---|---|
protected |
WizardSelectionPage(String pageName)
Creates a new wizard selection page with the given name, and
with no title or image.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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.
|
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateControl, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleprotected WizardSelectionPage(String pageName)
pageName - the name of the pagepublic boolean canFlipToNextPage()
WizardSelectionPage implementation of
this IWizardPage method returns true
if there is a selected node.canFlipToNextPage in interface IWizardPagecanFlipToNextPage in class WizardPagetrue if the next page could be displayed,
and false otherwiseWizardPage.getNextPage(),
WizardPage.isPageCompletepublic void dispose()
WizardSelectionPage implementation of an IDialogPage
method disposes of all nested wizards. Subclasses may extend.dispose in interface IDialogPagedispose in class DialogPagepublic IWizardPage getNextPage()
WizardSelectionPage implementation of
this IWizardPage method returns the first page
of the currently selected wizard if there is one.getNextPage in interface IWizardPagegetNextPage in class WizardPagenull if nonepublic IWizardNode getSelectedNode()
null if no node is selectedprotected void setSelectedNode(IWizardNode node)
node - the wizard node, or null to clearGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.