Package com.iizigo.term.project
Class NewProjectWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.term.project.NewProjectWizard
- All Implemented Interfaces:
IShellProvider,IWizard,INewWizard,IWorkbenchWizard
New Project Wizard
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGEMethod Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adds the required pages.static booleancreateProject(Shell shell) Requests creation of the project.voidinit(IWorkbench workbench, IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.booleanFinishes the dialog.Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
Method Details
createProject
Requests creation of the project.- Parameters:
shell- The shell.- Returns:
- true for success, false for cancel.
addPages
public void addPages()Adds the required pages.init
Initializes this creation wizard using the passed workbench and object selection.- Specified by:
initin interfaceIWorkbenchWizard
performFinish
public boolean performFinish()Finishes the dialog.- Specified by:
performFinishin interfaceIWizard- Specified by:
performFinishin classWizard- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.