Bug 72992 Projects View no longer properly handles opened/closed projects
The Projects View (Java Browsing) no longer stops displaying closed projects, nor does it display newly opened projects. Eclipse I20040831 (but been around since I20040817?) Linux, GTK2.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
else
							((AbstractTreeViewer)fViewer).add(parent, newElements);
					}
					else if (fViewer instanceof ListViewer)
						((ListViewer)fViewer).add(newElements);
					else if (fViewer instanceof TableViewer)
						((TableViewer)fViewer).add(newElements);
					if (fViewer.testFindItem(elements[0]) != null)
						fBrowsingPart.adjustInputAndSetSelection(elements[0]);
				}
			}
		});
	}
	private Object[] getNewElements(Object[] elements) {
		int elementsLength= elements.length;
		ArrayList result= new ArrayList(elementsLength);
		for (int i= 0; i < elementsLength; i++) {
			Object element= elements[i];
			if (fViewer.testFindItem(element) == null)
				result.add(element);
		}
		return result.toArray();
	}
	private void postRemove(final Object element) {
		postRemove(new Object[] {element});
	}
	private void postRemove(final Object[] elements) {
		if (elements.length <= 0)
			return;