java.lang.Objectorg.eclipse.jface.wizard.Wizard
com.ibm.jdg2e.wizards.newwizards.DynamicPageWizard
Wizard that adds a single page (PageChain) in the
addPages() method; added page is able to deterimine
if subsequent pages are required.
Wizard,
PageChain| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
DynamicPageWizard()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addPages()
Adds one PageChain wizard page to the wizard as dynamic page. |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
Initialization step is used to set title. |
boolean |
performFinish()
Does nothing, this wizard is only demonstrating page control logic. |
| Methods inherited from class org.eclipse.jface.wizard.Wizard |
|---|
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.wizard.IWizard |
|---|
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
| Constructor Detail |
public DynamicPageWizard()
| Method Detail |
public void addPages()
PageChain wizard page to the wizard as dynamic page.
The dynamic page has the option of adding subsequent pages in the
PageChain.getNextPage() method based on user input.
addPages in interface org.eclipse.jface.wizard.IWizardIWizard.addPages(),
PageChain.getNextPage()
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
init in interface org.eclipse.ui.IWorkbenchWizardIWorkbenchWizard.init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)public boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardWizard.performFinish()