A wizard which is used to import data into udig.
This is wizard is made up of primary pages, and secondary pages. A primary page
is an
See Also: org.eclipse.jface.wizard.IWizardPage See Also: that the wizard declares it will contain. A secondary See Also: page is a page which is dynamically contributed to the wizard via a primary page, or another See Also: secondary page. See Also: See Also: See Also: Sublcasses declare the ordered set of primary pages with the getPrimaryPages() method. See Also: Secondary pages are contributed dynamically by returning them from a call to See Also: org.eclipse.jface.wizard.IWizardPage#getNextPage(). See Also:
See Also: See Also: Secondary page processing will continue, until a page returns null from getNextPage(). See Also: Processing then continues at the next primary page. If no more primary pages exist, the See Also: wizard finishes. See Also:
See Also: See Also: If using an IDataWizard outside of the workbench wizard framework, it is up to client code See Also: to call See Also: org.eclipse.ui.IWorkbenchWizard.init(org.eclipse.ui.IWorkbenchorg.eclipse.jface.viewers.IStructuredSelection) See Also: immediatly after instantiating the wizard. See Also:
See Also: See Also: The following are requirements on the pages of the wizard. See Also:
See Also: - They must extend from
See Also: org.eclipse.jface.wizard.WizardPage See Also: - getNextPage must either return a new wizard page, or super.getNextPage()
See Also: - init(WizardPage) must be called before returning a page from
See Also:
See Also: See Also: Example: See Also: public IWizardPage getNextPage() { See Also: if (returnNewPage) { See Also: WizardPage newPage = new WizardPage(....); See Also: IDataWizard wizard = (IDataWizard)getWizard(); See Also: wizard.init(page); See Also: return page; See Also: } See Also: return super.getNextPage(); See Also: } See Also:
See Also:
See Also: It is important to note that pages inside this wizard must return a page or See Also: super.getNextPage() from getNextPage(). See Also: See Also: See Also: This wizard creates dialog settings for pages upon creation. See Also:
author: Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net |