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
ProjectRecord record = (ProjectRecord) selected[i];
			if (!createExistingProject(record))
				return false;
		}
		return true;
	}
	/**
	 * Create the project described in record. If it is 
	 * successful return true.
	 * @param record
	 * @return boolean <code>true</code> of successult
	 */
	private boolean createExistingProject(final ProjectRecord record) {
		String projectName = record.getProjectName();
		final IWorkspace workspace = ResourcesPlugin.getWorkspace();
		final IProject project = workspace.getRoot().getProject(projectName);
		if (record.description == null) {
			record.description = workspace.newProjectDescription(projectName);
			IPath locationPath = new Path(record.projectFile.getAbsolutePath());
			
			if (Platform.getLocation().isPrefixOf(locationPath))
				record.description.setLocation(null);
			else
				record.description.setLocation(locationPath);
		} else
			record.description.setName(projectName);
		
		WorkspaceModifyOperation op = new WorkspaceModifyOperation() {
			protected void execute(IProgressMonitor monitor) throws CoreException {
				monitor.beginTask("", 2000);