Bug 55882 Added user library not checked [build path]
Works in I2004032400010 + plug-in export Add a user library after pressing add you get a dialog with an unchecked checkbox where I have to check the added library again. The added library should be checked by default.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryWizardPage.java
CPUserLibraryElement curr= (CPUserLibraryElement) selected.get(i);
			if (fUsedPaths.contains(curr.getPath())) {
				return new StatusInfo(IStatus.ERROR, NewWizardMessages.getString("UserLibraryWizardPage.error.alreadyoncp")); 
			}
		}
		return new StatusInfo();
	}
	
	private void doButtonPressed(int index) {
		if (index == 0) {
			String currLibrary= fEditResult != null ? fEditResult.getName() : null;
			
			UserLibraryPreferencePage page= new UserLibraryPreferencePage(currLibrary, false);
			PreferencePageSupport.showPreferencePage(getShell(), UserLibraryPreferencePage.ID, page);
	
			updateLibraryList(currLibrary);
		} else {
			fLibrarySelector.setCheckedElements(fLibrarySelector.getSelectedElements());
		}
	}
	
	private void doDoubleClicked(ListDialogField field) {
		List list= fLibrarySelector.getSelectedElements();
		if (list.size() == 1) {
			Object elem= list.get(0);
			boolean state= fLibrarySelector.isChecked(elem);
			fLibrarySelector.setChecked(elem, !state);
		}
	}