Package com.iizigo.project
Class NewModuleProjectWizard
- java.lang.Object
- org.eclipse.jface.wizard.Wizard
- org.eclipse.jdt.internal.ui.wizards.NewElementWizard
- org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard
- com.iizigo.project.NewModuleProjectWizard
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension,org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
public class NewModuleProjectWizard extends org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardWizard that creates the IIZI Module Project that extends a Java project.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description NewModuleProjectWizard()Creates new IIZI module project, and extension of the Java project.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPages()Overridden to add the IIZI extension page.booleancanFinish()Checks for OK to finish.protected voidfinishPage(org.eclipse.core.runtime.IProgressMonitor monitor)This method is run in the wizard container's context as a workspace runnable.booleanperformCancel()Performs any actions appropriate in response to the user having pressed the Cancel button, or refuse if canceling now is not permitted.booleanperformFinish()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.jdt.internal.ui.wizards.JavaProjectWizard
getCreatedElement, handleFinishException, setInitializationData
Methods inherited from class org.eclipse.jdt.internal.ui.wizards.NewElementWizard
canRunForked, getSchedulingRule, getSelection, getWorkbench, init, openResource, selectAndReveal, warnAboutTypeCommentDeprecation
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
addPages
public void addPages()
Overridden to add the IIZI extension page.- Specified by:
addPagesin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
addPagesin classorg.eclipse.jdt.internal.ui.wizards.JavaProjectWizard
finishPage
protected void finishPage(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.InterruptedException, org.eclipse.core.runtime.CoreExceptionThis method is run in the wizard container's context as a workspace runnable.- Overrides:
finishPagein classorg.eclipse.jdt.internal.ui.wizards.JavaProjectWizard- Throws:
java.lang.InterruptedException- When the operation is cancelled.org.eclipse.core.runtime.CoreException- If the element cannot be created.
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 interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
performFinishin classorg.eclipse.jdt.internal.ui.wizards.JavaProjectWizard
canFinish
public boolean canFinish()
Checks for OK to finish.- Specified by:
canFinishin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
canFinishin classorg.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 interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
performCancelin classorg.eclipse.jdt.internal.ui.wizards.JavaProjectWizard- Returns:
- true to indicate the cancel request was accepted, and false to indicate that the cancel request was refused.