Bug 22698 [Import/Export] Import several projects at once
Eclipse R2.0 Right now if someone wants to import a projects to the workspace it has to be done one at a time. Usecase: someone lost the metadata for some reason. All the projects were in the default workspace location. The person now starts a new Eclipse session and wants to import the projects. It would be nice if the user could multiselect projects and import all at once. Another option would be to specify a root folder and for each immediate child look for a .project file. If it exists than we could try to import the project from that location.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
project.create(record.description, new SubProgressMonitor(monitor, 1000));
				if (monitor.isCanceled())
					throw new OperationCanceledException();
				project.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor(monitor, 1000));
			}
		};
		
		try {
			getContainer().run(true, true, op);
		} catch (InterruptedException e) {
			return false;
		} catch (InvocationTargetException e) {
				
			Throwable t = e.getTargetException();
			if (t instanceof CoreException) {
				if (((CoreException) t).getStatus().getCode() == IResourceStatus.CASE_VARIANT_EXISTS) {
					MessageDialog.openError(getShell(), DataTransferMessages.getString("WizardExternalProjectImportPage.errorMessage "),  
							DataTransferMessages.getString("WizardProjectsImportPage.CaseVariantError")  
					);
				} else {
					ErrorDialog.openError(getShell(), DataTransferMessages.getString("WizardExternalProjectImportPage.errorMessage "),  
							null, ((CoreException) t).getStatus());
				}
			}
			return false;
		}
		return true;
	}
}