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, init
addPage, canFinish, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFinish, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
protected 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.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
createPageControls
in interface org.eclipse.jface.wizard.IWizard
createPageControls
in class org.eclipse.jface.wizard.Wizard
public org.apache.maven.model.Model getModel()
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.