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
IJavaProject project= element.getJavaProject();
		if (project == null || !project.exists())
			return false;
		return project.isOnClasspath(element);
	}
	
	/**
	 * Updates the package icon
	 */
	 private void postUpdateIcon(final IJavaElement element) {
	 	postRunnable(new Runnable() {
			public void run() {
				Control ctrl= fViewer.getControl();
				if (ctrl != null && !ctrl.isDisposed()) 
					fViewer.update(element, new String[]{IBasicPropertyConstants.P_IMAGE});
			}
		});
	 }
	private void postRefresh(final Object root, boolean updateLabels) {
		if (!updateLabels) {
			postRefresh(root);
			return;
		}
		postRunnable(new Runnable() {
			public void run() {
				Control ctrl= fViewer.getControl();
				if (ctrl != null && !ctrl.isDisposed())
					fViewer.refresh(root, true);
			}
		});