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
if (selectedDirectory != null) {
			previouslyBrowsedDirectory = selectedDirectory;
			directoryPathField.setText(previouslyBrowsedDirectory);
			updateProjectsList(selectedDirectory);
		}
	}
	/**
	 * The browse button has been selected. Select the location.
	 */
	protected void handleLocationArchiveButtonPressed() {
		FileDialog dialog = new FileDialog(archivePathField.getShell());
		dialog.setFilterExtensions(FILE_IMPORT_MASK);
		dialog
				.setText(DataTransferMessages.WizardProjectsImportPage_SelectArchiveDialogTitle);
		String fileName = archivePathField.getText().trim();
		if (fileName.length() == 0)
			fileName = previouslyBrowsedArchive;
		if (fileName.length() == 0)
			dialog.setFilterPath(IDEWorkbenchPlugin.getPluginWorkspace()
					.getRoot().getLocation().toOSString());
		else {
			File path = new File(fileName);
			if (path.exists())
				dialog.setFilterPath(new Path(fileName).toOSString());
		}
		String selectedArchive = dialog.open();
		if (selectedArchive != null) {
			previouslyBrowsedArchive = selectedArchive;
			archivePathField.setText(previouslyBrowsedArchive);
			updateProjectsList(selectedArchive);