Package com.iizigo.project
Class NewModuleProjectWizardStartup
- java.lang.Object
- org.eclipse.jface.wizard.Wizard
- com.iizigo.project.NewModuleProjectWizardStartup
 
 
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider,- org.eclipse.jface.wizard.IWizard,- org.eclipse.ui.INewWizard,- org.eclipse.ui.IWorkbenchWizard
 - public class NewModuleProjectWizardStartup extends org.eclipse.jface.wizard.Wizard implements org.eclipse.ui.INewWizardSimplified New IIZI Project Wizard creating panels for requested targets and text tables with automatic translation of language texts.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - NewModuleProjectWizardStartup()Construction of wizard.
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - void- addPages()Overridden to add the IIZI extension pages.- boolean- canFinish()Checks for OK to finish.- static void- createModuleProject(UIFeedBack<java.lang.String> feedBack, NewModuleProjectWizardStartupPage1 page1, NewModuleProjectWizardStartupPage2 page2)Creates the project with settings from page1 and 2.- void- init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)New project doesn't care about selection...- boolean- performCancel()Performs any actions appropriate in response to the user having pressed the Cancel button, or refuse if canceling now is not permitted.- boolean- performFinish()Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted.- Methods inherited from class org.eclipse.jface.wizard.Wizard- addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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- createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer
 
 
- Method Detail- init- public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)New project doesn't care about selection...- Specified by:
- initin interface- org.eclipse.ui.IWorkbenchWizard
 
 - addPages- public void addPages() Overridden to add the IIZI extension pages.- Specified by:
- addPagesin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- addPagesin class- org.eclipse.jface.wizard.Wizard
 
 - performFinish- public boolean performFinish() Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. Normally this method is only called on the container's current wizard. However if the current wizard is a nested wizard this method will also be called on all wizards in its parent chain. Such parents may use this notification to save state etc. However, the value the parents return from this method is ignored.- Specified by:
- performFinishin interface- org.eclipse.jface.wizard.IWizard
- Specified by:
- performFinishin class- org.eclipse.jface.wizard.Wizard
 
 - createModuleProject- public static void createModuleProject(UIFeedBack<java.lang.String> feedBack, NewModuleProjectWizardStartupPage1 page1, NewModuleProjectWizardStartupPage2 page2) throws org.eclipse.core.runtime.CoreException Creates the project with settings from page1 and 2.- Parameters:
- feedBack- The feed-back instance,
- page1- The new module wizard page 1.
- page2- The new module wizard page 2.
- Throws:
- org.eclipse.core.runtime.CoreException- For errors.
 
 - canFinish- public boolean canFinish() Checks for OK to finish.- Specified by:
- canFinishin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- canFinishin class- org.eclipse.jface.wizard.Wizard
 
 - performCancel- public boolean performCancel() Performs any actions appropriate in response to the user having pressed the Cancel button, or refuse if canceling now is not permitted.- Specified by:
- performCancelin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- performCancelin class- org.eclipse.jface.wizard.Wizard
- Returns:
- true to indicate the cancel request was accepted, and false to indicate that the cancel request was refused.