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
*/
protected void firePostSelectionChanged(final SelectionChangedEvent event) {
	Object[] listeners = postSelectionChangedListeners.getListeners();
	for (int i = 0; i < listeners.length; ++i) {
		final ISelectionChangedListener l = (ISelectionChangedListener)listeners[i];
		Platform.run(new SafeRunnable() {
			public void run() {
				l.selectionChanged(event);
			}
			public void handleException(Throwable e) {
				super.handleException(e);
				
				
				removeSelectionChangedListener(l);
			}
		});		
	}
}
/**
 * Returns the comparator to use for comparing elements,
 * or <code>null</code> if none has been set.
 * 
 * @param comparator the comparator to use for comparing elements
 *   or <code>null</code> 
 */
public IElementComparer getComparer() {
	return comparer;
}
/**
 * Returns the filtered array of children of the given element.