public abstract class AbstractCreateMavenProjectsOperation
extends java.lang.Object
implements org.eclipse.jface.operation.IRunnableWithProgress
Modifier and Type | Field and Description |
---|---|
private java.util.List<org.eclipse.core.resources.IProject> |
createdProjects |
private java.util.List<org.eclipse.ui.IWorkingSet> |
workingSets
Deprecated.
|
Constructor and Description |
---|
AbstractCreateMavenProjectsOperation() |
AbstractCreateMavenProjectsOperation(java.util.List<org.eclipse.ui.IWorkingSet> workingSets)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<org.eclipse.core.resources.IProject> |
doCreateMavenProjects(org.eclipse.core.runtime.IProgressMonitor monitor) |
java.util.List<org.eclipse.core.resources.IProject> |
getCreatedProjects()
Returns a list of
IProject s created by this operation. |
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
protected static java.util.ArrayList<org.eclipse.core.resources.IProject> |
toProjects(java.util.List<IMavenProjectImportResult> results) |
static org.eclipse.core.runtime.IStatus |
toStatus(java.lang.reflect.InvocationTargetException e) |
@Deprecated private java.util.List<org.eclipse.ui.IWorkingSet> workingSets
private java.util.List<org.eclipse.core.resources.IProject> createdProjects
public AbstractCreateMavenProjectsOperation()
@Deprecated public AbstractCreateMavenProjectsOperation(java.util.List<org.eclipse.ui.IWorkingSet> workingSets)
MavenProjectWorkspaceAssigner
instead.protected abstract java.util.List<org.eclipse.core.resources.IProject> doCreateMavenProjects(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected static java.util.ArrayList<org.eclipse.core.resources.IProject> toProjects(java.util.List<IMavenProjectImportResult> results)
public void run(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
run
in interface org.eclipse.jface.operation.IRunnableWithProgress
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.runtime.IStatus toStatus(java.lang.reflect.InvocationTargetException e)
public java.util.List<org.eclipse.core.resources.IProject> getCreatedProjects()
IProject
s created by this operation.