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 |
|---|---|
static void |
addToWorkingSets(org.eclipse.core.resources.IProject project,
List<org.eclipse.ui.IWorkingSet> workingSets) |
protected abstract List<org.eclipse.core.resources.IProject> |
doCreateMavenProjects(org.eclipse.core.runtime.IProgressMonitor monitor) |
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.CoreExceptionpublic static void addToWorkingSets(org.eclipse.core.resources.IProject project,
List<org.eclipse.ui.IWorkingSet> workingSets)
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.IRunnableWithProgressInvocationTargetExceptionInterruptedExceptionpublic static org.eclipse.core.runtime.IStatus toStatus(InvocationTargetException e)
Copyright © 2005-2013 Sonatype, Inc.. All Rights Reserved.