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
}
		
		for (int i = 0; i < contents.length; i++) {
			if (contents[i].isDirectory()) {
				if (!contents[i].getName().equals(
						IDEApplication.METADATA_FOLDER)) {
					collectProjectFilesFromDirectory(files, contents[i],
							monitor);
				}
			}
		}
		return true;
	}
	/**
	 * Collect the list of .project files that are under directory into files.
	 * 
	 * @param files
	 * @param monitor
	 *            The monitor to report to
	 * @return boolean <code>true</code> if the operation was completed.
	 */
	private boolean collectProjectFilesFromProvider(Collection files,
			ILeveledImportStructureProvider provider, Object entry, int level,
			IProgressMonitor monitor) {
		if (monitor.isCanceled()) {
			return false;
		}
		monitor.subTask(NLS.bind(
				DataTransferMessages.WizardProjectsImportPage_CheckingMessage,
				provider.getLabel(entry)));