Bug 115832 [build path] Can't uncheck export of source folder
build I20051102-1600 In order to test compiling JFace against a reduced subset of core.runtime, I: - changed the build path of org.eclipse.jface to include its runtime-util source folder - removed the plug-in dependencies classpath container - added o.e.core.commands and SWT as explicit projects On the Libraries tab, the runtime-util source folder is exported, and I cannot uncheck it, even though the check box is enabled. With this setup, downstream plug-ins complain about references to IProgressMonitor etc due to access restrictions from JFace. I do not want these plug-ins to see the ones in runtime-util. They should compile against the org.eclipse.core.runtime plug-in as usual. Expected behaviour: - The ability to uncheck export of the source folder.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
*     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.wizards.dialogfields;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.eclipse.jface.util.Assert;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ICheckStateListener;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Table;
/**
 * A list with checkboxes and a button bar. Typical buttons are 'Check All' and 'Uncheck All'.
 * List model is independend of widget creation.
 * DialogFields controls are: Label, List and Composite containing buttons.
 */
public class CheckedListDialogField extends ListDialogField {
	
	private int fCheckAllButtonIndex;
	private int fUncheckAllButtonIndex;
	
	private List fCheckElements;
	public CheckedListDialogField(IListAdapter adapter, String[] customButtonLabels, ILabelProvider lprovider) {
		super(adapter, customButtonLabels, lprovider);