java.lang.Objectorg.eclipse.jface.wizard.Wizard
com.ibm.jdg2e.wizards.newwizards.DefinedPageWizard
Wizard that adds a three pages (PageChain) in the
addPages() method; each page is told that it is static;
meaning unable to add subsequent pages.
Wizard,
PageChain| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
DefinedPageWizard()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addPages()
Adds three PageChain wizard pages to the wizard as static
(non-dynamic) pages. |
void |
createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
If this method sends super then all pages have their UI
created up front (createControl() is called). |
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, 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, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
| Constructor Detail |
public DefinedPageWizard()
| Method Detail |
public void addPages()
PageChain wizard pages to the wizard as static
(non-dynamic) pages.
addPages in interface org.eclipse.jface.wizard.IWizardIWizard.addPages()public void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
super then all pages have their UI
created up front (createControl() is called).
If the call to super is commented out the page UI is
created just before it is entered. For predefined pages, this means the
second and third page can actually read the input field and use it in
their page UI create logic.
createPageControls in interface org.eclipse.jface.wizard.IWizardIWizard.createPageControls(org.eclipse.swt.widgets.Composite)
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()