Package com.iizigo.setup
Class SetupWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.setup.SetupWizard
- All Implemented Interfaces:
- IShellProvider,- IWizard
Wizard used when a UI component is about to be added. This wizard provides a mechanism to pop-up a dialog box so the user can fill in the name of the component, VS connections, etc.
- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class org.eclipse.jface.wizard.Wizard- DEFAULT_IMAGE
- Method SummaryModifier and TypeMethodDescription- void- addPages()Adds the required pages.- booleanChecks for OK to finish.- void- dispose()Dispose of wizard.- getNextPage- (IWizardPage page) Gets the next page: if no languages, no more...- getPreviousPage- (IWizardPage page) Gets the previous page.- booleanThe- Wizardimplementation of this- IWizardmethod does nothing and returns- true.- booleanFinishes the dialog.- static String- show- (IDesignerLicenseSystem licSys) Shows the wizard the first time if required.- Methods inherited from class org.eclipse.jface.wizard.Wizard- addPage, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
- Field Details- DEBUG_ALWAYS_OKpublic static final boolean DEBUG_ALWAYS_OKDEBUG enable always OK.
 
- Method Details- showShows the wizard the first time if required.- Parameters:
- licSys- The license system.
- Returns:
- Error message, null for for cancel, empty string for OK.
 
- disposepublic void dispose()Dispose of wizard.
- addPagespublic void addPages()Adds the required pages.
- getNextPageGets the next page: if no languages, no more...- Specified by:
- getNextPagein interface- IWizard
- Overrides:
- getNextPagein class- Wizard
- Parameters:
- page- current page.
- Returns:
- Next page, or null for already on last page.
 
- getPreviousPageGets the previous page.- Specified by:
- getPreviousPagein interface- IWizard
- Overrides:
- getPreviousPagein class- Wizard
- Parameters:
- page- current page.
- Returns:
- Previous page, or null for already on first page.
 
- canFinishpublic boolean canFinish()Checks for OK to finish.
- performCancelpublic boolean performCancel()The- Wizardimplementation of this- IWizardmethod does nothing and returns- true. Subclasses should re-implement this method if they need to perform any special cancel processing for their wizard.- Specified by:
- performCancelin interface- IWizard
- Overrides:
- performCancelin class- Wizard
 
- performFinishpublic boolean performFinish()Finishes the dialog.- Specified by:
- performFinishin interface- IWizard
- Specified by:
- performFinishin class- Wizard
- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.