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
/*******************************************************************************
 * Copyright (c) 2004, 2005 IBM Corporation and others.
 * Copyright (c) 2005 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Red Hat, Inc - extensive changes to allow importing of Archive Files
 *     Philippe Ombredanne (pombredanne@nexb.com)
 *     		- Bug 101180 [Import/Export] Import Existing Project into Workspace default widget is back button , should be text field
 *******************************************************************************/
package org.eclipse.ui.internal.wizards.datatransfer;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.util.ArrayList;