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
needsUpdate = labelProvider.isLabelProperty(element, properties[i]);
			if (needsUpdate)
				break;
		}
	}
	if (needsUpdate) {
		updateItem(item, element);
	}
}
/**
 * Copies attributes of the given element into the given widget.
 * <p>
 * This method is internal to the framework; subclassers should not call
 * this method.
 * Calls <code>doUpdateItem(widget, element, true)</code>.
 * </p>
 *
 * @param widget the widget
 * @param element the element
 */
protected final void updateItem(Widget widget, Object element) {
	safeUpdateItem.widget = widget;
	safeUpdateItem.object = element;
	safeUpdateItem.fullMap = true;
	Platform.run(safeUpdateItem);
}
/**
 * Updates the selection of this viewer.
 * <p>
 * This framework method should be called when the selection