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
private IJavaProject fProject;
	
	public UserLibraryWizardPage() {
		super("UserLibraryWizardPage"); 
		setTitle(NewWizardMessages.getString("UserLibraryWizardPage.title")); 
		setImageDescriptor(JavaPluginImages.DESC_WIZBAN_ADD_LIBRARY);
		updateDescription(null);
		fUsedPaths= new HashSet();
		
		LibraryListAdapter adapter= new LibraryListAdapter();
		String[] buttonLabels= new String[] {
				NewWizardMessages.getString("UserLibraryWizardPage.list.config.button") 
		};
		fLibrarySelector= new CheckedListDialogField(adapter, buttonLabels, new CPListLabelProvider());
		fLibrarySelector.setDialogFieldListener(adapter);
		fLibrarySelector.setLabelText(NewWizardMessages.getString("UserLibraryWizardPage.list.label")); 
		fEditResult= null;
		updateStatus(validateSetting(Collections.EMPTY_LIST));
	}
	private void updateDescription(IClasspathEntry containerEntry) {
		if (containerEntry == null || containerEntry.getPath().segmentCount() != 2) {
			setDescription(NewWizardMessages.getString("UserLibraryWizardPage.description.new")); 
		} else {
			setDescription(NewWizardMessages.getFormattedString("UserLibraryWizardPage.description.edit", containerEntry.getPath().segment(1))); 
		}
	}
	
	private void updateLibraryList(String nameToSelect) {
		String[] names= JavaCore.getUserLibraryNames();
		Arrays.sort(names, Collator.getInstance());