Bug 55884 Loading a user library from file does not warn when overwriting an existing library [build path]
Works in I2004032400010 + plug-in export for I200403240800 Add library 'mylib'. Save it. Change it. Load library from file. ==> should warn that 'mylib' gets changed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
private IJavaProject getDummyProject() {
		IProject project= ResourcesPlugin.getWorkspace().getRoot().getProject("Internal"); 
		return JavaCore.create(project);
	}
	
	
	/**
	 * Constructor to be used when programatically showing the page
	 * @param selectedLibrary The entry to be selected by default. 
	 */
	public UserLibraryPreferencePage(String selectedLibrary, boolean createIfNotFound) {
		this();
		if (selectedLibrary != null) {
			int nElements= fLibraryList.getSize();
			for (int i= 0; i < nElements; i++) {
				CPUserLibraryElement curr= (CPUserLibraryElement) fLibraryList.getElement(i);
				if (curr.getName().equals(selectedLibrary)) {
					fLibraryList.selectElements(new StructuredSelection(curr));
					fLibraryList.expandElement(curr, AbstractTreeViewer.ALL_LEVELS);
					break;
				}
			}
			if (createIfNotFound) {
				CPUserLibraryElement elem= new CPUserLibraryElement(selectedLibrary, null);
				fLibraryList.addElement(elem);
				fLibraryList.selectElements(new StructuredSelection(elem));
			}
		}
	}