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
archivePathField.addTraverseListener(new TraverseListener() {
			/* (non-Javadoc)
			 * @see org.eclipse.swt.events.TraverseListener#keyTraversed(org.eclipse.swt.events.TraverseEvent)
			 */
			public void keyTraversed(TraverseEvent e) {
				if (e.detail == SWT.TRAVERSE_RETURN)
				{
					e.doit = false;
					updateProjectsList(archivePathField.getText().trim());
				}
			}
			
		});
		projectFromDirectoryRadio.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				if (projectFromDirectoryRadio.getSelection()) {
					directoryPathField.setEnabled(true);
					browseDirectoriesButton.setEnabled(true);
					archivePathField.setEnabled(false);
					browseArchivesButton.setEnabled(false);
				}
			}
		});
		projectFromArchiveRadio.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				if (projectFromArchiveRadio.getSelection()) {
					directoryPathField.setEnabled(false);
					browseDirectoriesButton.setEnabled(false);
					archivePathField.setEnabled(true);
					browseArchivesButton.setEnabled(true);