Bug 240574 [CommonNavigator] Closed projects have a + indication after IDE restart
The content provider "JEE Navigator Content App Client" and "JEE Navigator Content EAR" cause the project explorer to display the [+] symbol on closed projects. How to reproduce - Distro: "Eclipse IDE for Java EE Developers" - Close a project - Activate the "JEE Navigator Content App Client" at "Project Explorer" -> "Customize View" -> "Content" Possible a bug in the "public boolean hasChildren(Object element)" methods of the two content provider.
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/workbench/ResourceExtensionContentProvider.java
runnables.add(addAndRemove);
	}
	
	/**
	 * Return a runnable for refreshing a resource.
	 * @param resource
	 * @return Runnable
	 */
	private Runnable getRefreshRunnable(final IResource resource) {
		return new Runnable(){
			public void run() {
				((StructuredViewer) viewer).refresh(resource);
			}
		};
	}
	
	/**
	 * Run all of the runnables that are the widget updates
	 * @param runnables
	 */
	private void runUpdates(Collection runnables) {
		Iterator runnableIterator = runnables.iterator();
		while(runnableIterator.hasNext()){
			((Runnable)runnableIterator.next()).run();
		}
		
	}
	
}