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
File file = (File) filesIterator.next();
				selectedProjects[index] = new ProjectRecord(file);
				index++;
			}
		}
		
		projectsList.refresh(true);
		projectsList.setCheckedElements(selectedProjects);
		setPageComplete(selectedProjects.length > 0);
	}
	/**
	 * Collect the list of .project files that are under
	 * directory into files.
	 * @param files
	 * @param directory
	 */
	private void collectProjectFiles(Collection files, File directory) {
		File[] contents = directory.listFiles();
		for (int i = 0; i < contents.length; i++) {
			File file = contents[i];
			if (file.isDirectory())
				collectProjectFiles(files, file);
			else {
				if (file.getName().equals(IProjectDescription.DESCRIPTION_FILE_NAME))
					files.add(file);
			}
		}
	}
	/**
	 * The browse button has been selected. Select the