Bug 28510 java build path inconsistency [build path]
20021216 select rt.jar in the package explorer open properties it allows you to set the javadoc location but for source attachment you are sent somewhere else it's inconsistent - on the java build path they both look sort of the same (they sit under the same node in the tree)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
}
	
	private void libaryPageSelectionChanged(DialogField field) {
		List selElements= fLibrariesList.getSelectedElements();
		fLibrariesList.enableButton(IDX_EDIT, canEdit(selElements));
	}
	
	private boolean canEdit(List selElements) {
		if (selElements.size() != 1) {
			return false;
		}
		Object elem= selElements.get(0);
		if (fLibrariesList.getIndexOfElement(elem) != -1) {
			return true;
		}
		if (elem instanceof CPListElementAttribute) {
			CPListElementAttribute attrib= (CPListElementAttribute) elem;
			if (attrib.getKey().equals(CPListElement.SOURCEATTACHMENT)) {
				return true;
			}
			return ((CPListElementAttribute) elem).getParent().getParentContainer() == null;
		}
		return false;
	}
	
	
	private void libaryPageDialogFieldChanged(DialogField field) {
		if (fCurrJProject != null) {
			
			updateClasspathList();