Bug 32553 [Viewers] Closing a project does not remove [+] icon
I just launched I20030220 and imported a couple of existing projects into the workspace, with the [+] icon by each project (denoting contents). I then closed a couple of the projects that I was not looking at, and the [+] icon remained after closing the projects. Of course clicking on this icon resulted in nothing happening, except the [+] disappeared. It would be better if the icon was cleared when the project was closed. Mac OS X.2.4 Eclipse I20030220
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/model/WorkbenchContentProvider.java
import java.util.Collection;
import java.util.Iterator;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceChangeEvent;
import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.jface.viewers.AbstractTreeViewer;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.widgets.Control;
/**
 * Tree content provider for resource objects that can be adapted to the
 * interface {@link org.eclipse.ui.model.IWorkbenchAdapter IWorkbenchAdapter}.
 * This provider will listen for resource changes within the workspace and
 * update the viewer as necessary.
 * <p>
 * This class may be instantiated, or subclassed by clients.
 * </p>
 */
public class WorkbenchContentProvider extends BaseWorkbenchContentProvider
		implements IResourceChangeListener {
	private Viewer viewer;
	/**
	 * Creates the resource content provider.
	 */
	public WorkbenchContentProvider() {
		super();
	}