Bug 107827 [build path] Edit Library dialog error status stays after wrong selection
I20050818-0800 Steps to reproduce: - Create a new user library and put it on the build path as container - Make sure this is the only user library - Invoke "Configure..." from the Package Explorer context menu on the container - Edit Library dialog appears - Try to unselect the user library -> Error status appears, but library is still selected -> Error status only disappears if the dialog is cancelled and redisplayed or the "User Libraries..." button is pressed
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryWizardPage.java
public LibraryListAdapter() {
		}
		
		public void dialogFieldChanged(DialogField field) {
			doDialogFieldChanged(field);
		}
		public void customButtonPressed(ListDialogField field, int index) {
			doButtonPressed(index);
		}
		public void selectionChanged(ListDialogField field) {
		}
		public void doubleClicked(ListDialogField field) {
			doDoubleClicked(field);
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.ui.wizards.IClasspathContainerPageExtension#initialize(org.eclipse.jdt.core.IJavaProject, org.eclipse.jdt.core.IClasspathEntry[])
	 */
	public void initialize(IJavaProject project, IClasspathEntry[] currentEntries) {
		for (int i= 0; i < currentEntries.length; i++) {
			IClasspathEntry curr= currentEntries[i];
			if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
				fUsedPaths.add(curr.getPath());
			}
		}
	}
}