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
}
/**
 * Disassociates the given SWT item from its corresponding element.
 * Sets the item's data to <code>null</code> and removes the element
 * from the element map (if enabled).
 *
 * @param item the widget
 */
protected void disassociate(Item item) {
	Object element = item.getData();
	Assert.isNotNull(element);
	item.setData(null);
	unmapElement(element, item);
}
/**
 * Returns the widget in this viewer's control which 
 * represents the given element if it is the viewer's input.
 * <p>
 * This method is internal to the framework; subclassers should not call
 * this method.
 * </p>
 *
 * @param the element
 * @return the corresponding widget, or <code>null</code> if none
 */
protected abstract Widget doFindInputItem(Object element);
/**
 * Returns the widget in this viewer's control which represent the given element.
 * This method searchs all the children of the input element.
 * <p>