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
* <p>
 * This method is internal to the framework; subclassers should not call
 * this method.
 * </p>
 *
 * @param event the SWT selection event
 */
protected void handlePostSelect(SelectionEvent e) {
	SelectionChangedEvent event = new SelectionChangedEvent(this, getSelection());
	firePostSelectionChanged(event);
}
/* (non-Javadoc)
 * Method declared on Viewer.
 */
protected void hookControl(Control control) {
	super.hookControl(control);
	OpenStrategy handler = new OpenStrategy(control);
	handler.addSelectionListener(new SelectionListener() {
		public void widgetSelected(SelectionEvent e) {
			handleSelect(e);
		}
		public void widgetDefaultSelected(SelectionEvent e) {
			handleDoubleSelect(e);
		}
	});
	handler.addPostSelectionListener(new SelectionAdapter() {
		public void widgetSelected(SelectionEvent e) {
			handlePostSelect(e);
		}
	});