public class MavenProjectWizard extends AbstractMavenProjectWizard implements org.eclipse.ui.INewWizard
The wizard provides the following functionality to the user:
Once the wizard has finished, the following resources are created and configured:
| Modifier and Type | Field and Description |
|---|---|
protected MavenProjectWizardArchetypePage |
archetypePage
The archetype selection page.
|
protected MavenProjectWizardArtifactPage |
artifactPage
The wizard page for gathering Maven2 project information.
|
protected MavenProjectWizardLocationPage |
locationPage
The wizard page for gathering general project information.
|
protected MavenProjectWizardArchetypeParametersPage |
parametersPage
The wizard page for gathering archetype project information.
|
protected org.eclipse.swt.widgets.Button |
simpleProject |
importConfiguration, selection, workingSets| Constructor and Description |
|---|
MavenProjectWizard()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPages() |
void |
createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
Adds the listeners after the page controls are created.
|
org.apache.maven.model.Model |
getModel()
Returns the model.
|
boolean |
performFinish()
To perform the actual project creation, an operation is created and run using this wizard as execution context.
|
dispose, getDiscovery, getPageFactory, getProjectImportConfiguration, initaddPage, canFinish, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFinish, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainerprotected MavenProjectWizardLocationPage locationPage
protected MavenProjectWizardArchetypePage archetypePage
protected MavenProjectWizardArtifactPage artifactPage
protected MavenProjectWizardArchetypeParametersPage parametersPage
protected org.eclipse.swt.widgets.Button simpleProject
public MavenProjectWizard()
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
createPageControls in interface org.eclipse.jface.wizard.IWizardcreatePageControls in class org.eclipse.jface.wizard.Wizardpublic org.apache.maven.model.Model getModel()
public boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.WizardCopyright © 2005–2021 Eclipse Foundation. All rights reserved.