public class MavenDependenciesWizardPage extends AbstractMavenWizardPage
Modifier and Type | Class and Description |
---|---|
static class |
MavenDependenciesWizardPage.ArtifactLabelProvider
Simple
LabelProvider attached to the dependency viewer. |
static class |
MavenDependenciesWizardPage.DependencySorter
Simple
ViewerComparator attached to the dependency viewer. |
dialogSettings, MAX_HISTORY, resolverConfigurationComponent
Constructor and Description |
---|
MavenDependenciesWizardPage() |
MavenDependenciesWizardPage(ProjectImportConfiguration projectImportConfiguration,
String title,
String description) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
This wizard page contains a
TableViewer to display the currently included Maven2
directories and a button area with buttons to add further dependencies or remove existing ones. |
org.eclipse.jface.wizard.IWizardContainer |
getContainer() |
org.apache.maven.model.Dependency[] |
getDependencies()
Returns dependencies currently chosen by the user.
|
protected void |
notifyListeners()
Notify listeners about changes
|
void |
setDependencies(org.apache.maven.model.Dependency[] dependencies) |
void |
setShowScope(boolean showScope) |
addFieldWithHistory, createAdvancedSettings, dispose, getImportConfiguration, setVisible, validateArtifactIdInput, validateGroupIdInput
canFlipToNextPage, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, 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
public MavenDependenciesWizardPage()
public MavenDependenciesWizardPage(ProjectImportConfiguration projectImportConfiguration, String title, String description)
public void setShowScope(boolean showScope)
public void setDependencies(org.apache.maven.model.Dependency[] dependencies)
public void createControl(org.eclipse.swt.widgets.Composite parent)
TableViewer
to display the currently included Maven2
directories and a button area with buttons to add further dependencies or remove existing ones.public org.eclipse.jface.wizard.IWizardContainer getContainer()
getContainer
in class org.eclipse.jface.wizard.WizardPage
protected void notifyListeners()
public void addListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
public org.apache.maven.model.Dependency[] getDependencies()
null
.Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.