public class MavenProjectWizardArtifactPage extends AbstractMavenWizardPage
Modifier and Type | Field and Description |
---|---|
protected MavenArtifactComponent |
artifactComponent
artifact property panel
|
protected MavenParentComponent |
parentComponent
parent property panel
|
dialogSettings, MAX_HISTORY, resolverConfigurationComponent
Modifier | Constructor and Description |
---|---|
|
MavenProjectWizardArtifactPage(ProjectImportConfiguration projectImportConfiguration)
Sets the title and description of this wizard page and marks it as not being complete as user input is required for
continuing.
|
protected |
MavenProjectWizardArtifactPage(String name,
ProjectImportConfiguration projectImportConfiguration)
Sets the title and description of this wizard page and marks it as not being complete as user input is required for
continuing.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
This wizard page contains a
MavenArtifactComponent to gather information about the Maven
artifact and a Maven2DirectoriesComponent which allows to choose which directories of the default
Maven directory structure to create. |
String[] |
getFolders()
Returns the directories of the default Maven2 directory structure selected by the user.
|
org.apache.maven.model.Model |
getModel()
Returns the Maven2 model containing the artifact information provided by the user.
|
boolean |
isPageComplete() |
void |
setParentProject(String groupId,
String artifactId,
String version)
Updates the properties when a project name is set on the first page of the wizard.
|
void |
setParentReadonly(boolean b)
Sets the readonly parent flag.
|
void |
setProjectName(String projectName)
Updates the properties when a project name is set on the first page of the wizard.
|
void |
setUsed(boolean isUsed) |
void |
setVisible(boolean visible)
Loads the advanced settings data when the page is displayed.
|
addFieldWithHistory, createAdvancedSettings, dispose, getImportConfiguration, validateArtifactIdInput, validateGroupIdInput
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
protected MavenParentComponent parentComponent
protected MavenArtifactComponent artifactComponent
public MavenProjectWizardArtifactPage(ProjectImportConfiguration projectImportConfiguration)
protected MavenProjectWizardArtifactPage(String name, ProjectImportConfiguration projectImportConfiguration)
public void createControl(org.eclipse.swt.widgets.Composite parent)
MavenArtifactComponent
to gather information about the Maven
artifact and a Maven2DirectoriesComponent
which allows to choose which directories of the default
Maven directory structure to create.public void setVisible(boolean visible)
AbstractMavenWizardPage
setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
setVisible
in class AbstractMavenWizardPage
public org.apache.maven.model.Model getModel()
null
.public String[] getFolders()
null
.public void setProjectName(String projectName)
public void setParentReadonly(boolean b)
public void setParentProject(String groupId, String artifactId, String version)
public void setUsed(boolean isUsed)
public boolean isPageComplete()
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
isPageComplete
in class org.eclipse.jface.wizard.WizardPage
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.