final List<IProject> previousProjects = Arrays
.asList(ResourcesPlugin.getWorkspace().getRoot()
.getProjects());
PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() {
public void run() {
new NewProjectAction(PlatformUI.getWorkbench()
.getActiveWorkbenchWindow()).run();
}
});
IWorkspaceRunnable wsr = new IWorkspaceRunnable() {
public void run(IProgressMonitor actMonitor)