Bug 93549 [Import/Export] Disable Finish in import existing projects wizard
Build: N20050503 Open import existing project wizard Toggle radio button to import from archive Type in the name of an archive file Toggle radio button back to import from directory Observe: the Finish button is still enabled, even though there is no directory selected. Clicking Finish will import from the selected zip file.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
Object child = childrenEnum.next();
			if (provider.isFolder(child))
				collectProjectFilesFromProvider(files, provider, child,
						level + 1, monitor);
			String elementLabel = provider.getLabel(child);
			if (elementLabel.equals(IProjectDescription.DESCRIPTION_FILE_NAME))
				files.add(new ProjectRecord(child, entry, level, provider));
		}
		return true;
	}
	/**
	 * The browse button has been selected. Select the location.
	 */
	protected void handleLocationDirectoryButtonPressed() {
		DirectoryDialog dialog = new DirectoryDialog(directoryPathField
				.getShell());
		dialog
				.setMessage(DataTransferMessages.WizardProjectsImportPage_SelectDialogTitle);
		String dirName = directoryPathField.getText().trim();
		if (dirName.length() == 0)
			dirName = previouslyBrowsedDirectory;
		if (dirName.length() == 0)
			dialog.setFilterPath(IDEWorkbenchPlugin.getPluginWorkspace()
					.getRoot().getLocation().toOSString());
		else {
			File path = new File(dirName);
			if (path.exists())
				dialog.setFilterPath(new Path(dirName).toOSString());
		}
		String selectedDirectory = dialog.open();