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
}
		
	private void postRefresh(final Object root) {
		postRunnable(new Runnable() {
			public void run() {
				Control ctrl= fViewer.getControl();
				if (ctrl != null && !ctrl.isDisposed())
					fViewer.refresh(root, false);
				}
		});
	}
	private void postAdd(final Object parent, final Object element) {
		postAdd(parent, new Object[] {element});
	}
		
	private void postAdd(final Object parent, final Object[] elements) {
		if (elements == null || elements.length <= 0)
			return;
		
		postRunnable(new Runnable() {
			public void run() {
				Control ctrl= fViewer.getControl();
				if (ctrl != null && !ctrl.isDisposed()) {
					Object[] newElements= getNewElements(elements);
					if (fViewer instanceof AbstractTreeViewer) {
						if (fViewer.testFindItem(parent) == null) {
							Object root= ((AbstractTreeViewer)fViewer).getInput();
							if (root != null)
								((AbstractTreeViewer)fViewer).add(root, newElements);
						}