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
public boolean hasChildren(Object element) {
		return element instanceof IContainer && super.hasChildren(element);
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.ui.model.WorkbenchContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
	 */
	public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { 
		super.inputChanged(viewer, oldInput, newInput);
		this.viewer = viewer;
	}
	/**
	 * Process the resource delta.
	 * 
	 * @param delta
	 */
	protected void processDelta(IResourceDelta delta) {		
		Control ctrl = viewer.getControl();
		if (ctrl == null || ctrl.isDisposed()) {
			return;
		}
		
		
		final Collection runnables = new ArrayList();
		processDelta(delta, runnables);
		if (runnables.isEmpty()) {
			return;
		}
		
		if (ctrl.getDisplay().getThread() == Thread.currentThread()) {