Bug 15844 [Exception Handling] SelectionChange events and NPE
Build 20020508 Due to new global actions there are now more objects listening to selection changes send out by a JFace viewer. We now had the case that one of the listener generated a NPE. As a result all listeners registered after that one didn't receive the selection change event. StructuredViewers should be more fault tolorant to exceptions when informing listeners.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
return filters != null && filters.size() > 0;
}
/**
 * Refreshes this viewer starting at the given element.
 *
 * @param element the element
 */
protected abstract void internalRefresh(Object element);
/**
 * Refreshes this viewer starting at the given element.
 * Labels are updated as described in <code>refresh(boolean updateLabels)</code>.
 * <p>
 * The default implementation simply calls <code>internalRefresh(element)</code>,
 * ignoring <code>updateLabels</code>.
 * <p>
 * If this method is overridden to do the actual refresh, then
 * <code>internalRefresh(Object element)</code> should simply 
 * call <code>internalRefresh(element, true)</code>.
 * 
 * @param element the element
 * @param updateLabels <code>true</code> to update labels for existing elements,
 * <code>false</code> to only update labels as needed, assuming that labels
 * for existing elements are unchanged.
 * 
 * @since 2.0
 */
protected void internalRefresh(Object element, boolean updateLabels) {
	internalRefresh(element);
}
/**