public abstract class AbstractCreateMavenProjectsOperation extends Object implements org.eclipse.jface.operation.IRunnableWithProgress
Constructor and Description |
---|
AbstractCreateMavenProjectsOperation(List<org.eclipse.ui.IWorkingSet> workingSets) |
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
IProject s 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(List<org.eclipse.ui.IWorkingSet> workingSets)
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.CoreException
protected 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.IRunnableWithProgress
InvocationTargetException
InterruptedException
public static org.eclipse.core.runtime.IStatus toStatus(InvocationTargetException e)
public List<org.eclipse.core.resources.IProject> getCreatedProjects()
IProject
s created by this operation.Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.