Bug 30751 [Viewers] Closing all projects doesnt clear package browser list [browsing]
In the java browsing perspective, if you close all projects, the packages browser still has a list of all the packages from the last opened project.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
break;
			}
			if (add)
				filtered.add(elements[i]);
		}
		return filtered.toArray();
	}
	return elements;
}
/**
 * Finds the widget which represents the given element.
 * <p>
 * The default implementation of this method tries first to
 * find the widget for the given element assuming that it is
 * the viewer's input; this is done by calling <code>doFindInputItem</code>.
 * If it is not found there, it is looked up in the internal element
 * map provided that this feature has been enabled.
 * If the element map is disabled, the widget is found via
 * <code>doFindInputItem</code>.
 * </p>
 *
 * @param element the element
 * @return the corresponding widget, or <code>null</code> if none
 */
protected final Widget findItem(Object element) {
	Widget result= doFindInputItem(element);
	if (result != null)
		return result;
	
	if (elementMap != null)