Bug 54737 Libraries dialog doesn't remember status of items in library tree
Preferences > Java > Build Path > User Libraries: The dialog does not seem to correctly remember the status of the items in the "Defined user libraries" tree. When I leave the dialog I close (un-cascade) all items. When I open the dialog again, most of the items are open (cascaded) again. This is disturbing because I cannot overview the items. It's like opening the Windows explorer with not only the drives shown but all folders being open.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
private final Object[] NO_ELEMENTS= new Object[0];
		
		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
			
		}
		public boolean isDeleted(Object element) {
			return false;
		}
		public void dispose() {
		}
		public Object[] getElements(Object obj) {
			return fElements.toArray();
		}
		
		public Object[] getChildren(Object element) {
			if (fTreeAdapter != null) {
				return fTreeAdapter.getChildren(TreeListDialogField.this, element);
			}
			return NO_ELEMENTS;
		}
		public Object getParent(Object element) {
			if (!fElements.contains(element) && fTreeAdapter != null) {
				return fTreeAdapter.getParent(TreeListDialogField.this, element);
			}
			return fParentElement;
		}
		public boolean hasChildren(Object element) {
			if (fTreeAdapter != null) {
				return fTreeAdapter.hasChildren(TreeListDialogField.this, element);