public class MavenProjectConfigurator
extends java.lang.Object
implements org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
Modifier and Type | Class and Description |
---|---|
private static class |
MavenProjectConfigurator.CumulativeMappingDiscoveryJob |
static class |
MavenProjectConfigurator.UpdateMavenConfigurationJob
This singleton job will loop running on the background to update
configuration of Maven projects as they're imported.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UPDATE_MAVEN_CONFIGURATION_JOB_NAME |
Constructor and Description |
---|
MavenProjectConfigurator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConfigure(org.eclipse.core.resources.IProject project,
java.util.Set<org.eclipse.core.runtime.IPath> ignoredPaths,
org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
configure(org.eclipse.core.resources.IProject project,
java.util.Set<org.eclipse.core.runtime.IPath> excludedDirectories,
org.eclipse.core.runtime.IProgressMonitor monitor) |
java.util.Set<java.io.File> |
findConfigurableLocations(java.io.File root,
org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.jface.wizard.IWizard |
getConfigurationWizard() |
java.util.Set<org.eclipse.core.resources.IFolder> |
getDirectoriesToIgnore(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor) |
java.util.Set<org.eclipse.core.resources.IFolder> |
getFoldersToIgnore(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
removeDirtyDirectories(java.util.Map<java.io.File,java.util.List<org.eclipse.ui.wizards.datatransfer.ProjectConfigurator>> proposals) |
boolean |
shouldBeAnEclipseProject(org.eclipse.core.resources.IContainer container,
org.eclipse.core.runtime.IProgressMonitor monitor) |
public static final java.lang.String UPDATE_MAVEN_CONFIGURATION_JOB_NAME
public java.util.Set<java.io.File> findConfigurableLocations(java.io.File root, org.eclipse.core.runtime.IProgressMonitor monitor)
findConfigurableLocations
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public void removeDirtyDirectories(java.util.Map<java.io.File,java.util.List<org.eclipse.ui.wizards.datatransfer.ProjectConfigurator>> proposals)
removeDirtyDirectories
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public boolean canConfigure(org.eclipse.core.resources.IProject project, java.util.Set<org.eclipse.core.runtime.IPath> ignoredPaths, org.eclipse.core.runtime.IProgressMonitor monitor)
canConfigure
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public org.eclipse.jface.wizard.IWizard getConfigurationWizard()
public void configure(org.eclipse.core.resources.IProject project, java.util.Set<org.eclipse.core.runtime.IPath> excludedDirectories, org.eclipse.core.runtime.IProgressMonitor monitor)
configure
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public boolean shouldBeAnEclipseProject(org.eclipse.core.resources.IContainer container, org.eclipse.core.runtime.IProgressMonitor monitor)
shouldBeAnEclipseProject
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public java.util.Set<org.eclipse.core.resources.IFolder> getFoldersToIgnore(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
getFoldersToIgnore
in interface org.eclipse.ui.wizards.datatransfer.ProjectConfigurator
public java.util.Set<org.eclipse.core.resources.IFolder> getDirectoriesToIgnore(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)