Bug 150998 [Import/Export] Import Projects Wizard: Finish is enabled even if no project is selected
In Import Existing Projects Wizard, the Finish button is enabled even when no projects are selected for import. When the Import wizard is first invoked, Finish is disabled, since no projects have been selected for import. If a directory with no Eclipse projects is selected, Finish remains disabled. If a directory with at least one Eclipse project is selected, then Finish becomes enabled. If none of the projects are selected for import, then Finish remains enabled. Although this behaviour does not cause any functional problems, the UI seems inconsistent.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
}
	/**
	 * Get the array of valid project records that can be imported 
	 * from the source workspace or archive, selected by the user.
	 * If a project with the same name exists in both the source workspace and the 
	 * current workspace, it will not appear in the list of projects to import and 
	 * thus cannot be selected for import.
	 * 
	 * Method declared public for test suite.
	 * 
	 * @return ProjectRecord[] array of projects that can be imported into the workspace
	 */
	public ProjectRecord[] getValidProjects(){
		List validProjects = new ArrayList();
		for (int i = 0; i < selectedProjects.length; i++){
			if (!isProjectInWorkspace(selectedProjects[i].getProjectName())) {
				validProjects.add(selectedProjects[i]);
			}
		}
		return (ProjectRecord[]) validProjects.toArray(new ProjectRecord[validProjects.size()]);
	}
	
	/**
	 * Determine if the project with the given name is in the current workspace.
	 * 
	 * @param projectName String the project name to check
	 * @return boolean true if the project with the given name is in this workspace
	 */
	private boolean isProjectInWorkspace(String projectName){
		if (projectName == null) {