Bug 114591 [Import/Export] "Copy projects into workspace" remains checked after switching from archive to directory
build I20051101-0010 - go to Import > External Projects into Workspace - ensure that "Select root directory" is selected and "Copy projects into workspace" checkbox is unchecked - choose "Select archive file" - the "Copy projects into workspace" checkbox is checked and disabled - this is accurate - choose "Select root directory" again - the "Copy projects into workspace" checkbox is checked and enabled - this is an unwanted side-effect Should consider the "Copy projects into workspace" setting to be user state, which should not be overridden by the system, except when it does not apply (the archive case). That is, the state should be remembered separately for the directory case.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
*/
	protected TarFile getSpecifiedTarSourceFile() {
		return getSpecifiedTarSourceFile(archivePathField.getText());
	}
	/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	private TarFile getSpecifiedTarSourceFile(String fileName) {
		if (fileName.length() == 0)
			return null;
		try {
			return new TarFile(fileName);
		} catch (TarException e) {
			displayErrorDialog(DataTransferMessages.TarImport_badFormat);
		} catch (IOException e) {
			displayErrorDialog(DataTransferMessages.ZipImport_couldNotRead);
		}
		archivePathField.setFocus();
		return null;
	}
	/**
	 * Display an error dialog with the specified message.
	 * 
	 * @param message
	 *            the error message
	 */
	protected void displayErrorDialog(String message) {
		MessageDialog.openError(getContainer().getShell(),
				getErrorDialogTitle(), message);