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
* @param element the element to reveal
 */
public abstract void reveal(Object element);
/**
 * The <code>StructuredViewer</code> implementation of this method
 * checks to ensure that the content provider is an <code>IStructuredContentProvider</code>.
 */
public void setContentProvider(IContentProvider provider) {
	Assert.isTrue(provider instanceof IStructuredContentProvider);
	super.setContentProvider(provider);
}
/* (non-Javadoc)
 * Method declared in Viewer.
 * This implementatation additionaly unmaps all the elements.
 */
public final void setInput(Object input) {
		
	try {
		
		unmapAllElements();
		super.setInput(input);
	} finally {
	}
}
/**
 * The <code>StructuredViewer</code> implementation of this method does the following.
 * <p>
 * If the new selection differs from the current
 * selection the hook <code>updateSelection</code> is called.
 * </p>