public abstract class AbstractCreateMavenProjectsOperation extends Object implements org.eclipse.jface.operation.IRunnableWithProgress
| Constructor and Description |
|---|
AbstractCreateMavenProjectsOperation() |
AbstractCreateMavenProjectsOperation(List<org.eclipse.ui.IWorkingSet> workingSets)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<org.eclipse.core.resources.IProject> |
doCreateMavenProjects(org.eclipse.core.runtime.IProgressMonitor monitor) |
List<org.eclipse.core.resources.IProject> |
getCreatedProjects()
Returns a list of
IProjects created by this operation. |
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
protected static ArrayList<org.eclipse.core.resources.IProject> |
toProjects(List<IMavenProjectImportResult> results) |
static org.eclipse.core.runtime.IStatus |
toStatus(InvocationTargetException e) |
public AbstractCreateMavenProjectsOperation()
@Deprecated public AbstractCreateMavenProjectsOperation(List<org.eclipse.ui.IWorkingSet> workingSets)
MavenProjectWorkspaceAssigner instead.protected abstract List<org.eclipse.core.resources.IProject> doCreateMavenProjects(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionprotected static ArrayList<org.eclipse.core.resources.IProject> toProjects(List<IMavenProjectImportResult> results)
public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvocationTargetException,
InterruptedException
run in interface org.eclipse.jface.operation.IRunnableWithProgressInvocationTargetExceptionInterruptedExceptionpublic static org.eclipse.core.runtime.IStatus toStatus(InvocationTargetException e)
public List<org.eclipse.core.resources.IProject> getCreatedProjects()
IProjects created by this operation.Copyright © 2005–2021 Eclipse Foundation. All rights reserved.