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
}
	/**
	 * Get the title for an error dialog. Subclasses should override.
	 */
	protected String getErrorDialogTitle() {
		return IDEWorkbenchMessages.WizardExportPage_internalErrorTitle;
	}
	/**
	 * Collect the list of .project files that are under directory into files.
	 * 
	 * @param files
	 * @param directory
	 * @param monitor
	 *            The monitor to report to
	 * @return boolean <code>true</code> if the operation was completed.
	 */
	private boolean collectProjectFilesFromDirectory(Collection files,
			File directory, IProgressMonitor monitor) {
		if (monitor.isCanceled())
			return false;
		monitor.subTask(NLS.bind(
				DataTransferMessages.WizardProjectsImportPage_CheckingMessage,
				directory.getPath()));
		File[] contents = directory.listFiles();
		
		final String dotProject = IProjectDescription.DESCRIPTION_FILE_NAME;
		for (int i = 0; i < contents.length; i++) {
			File file = contents[i];
			if (file.isFile() && file.getName().equals(dotProject)) {
				files.add(file);