Bug 181061 [Viewers] JFace viewers performance issues in 3.3
A number of the JFace performance tests are red since I20060926-0800.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
protected void fireTreeCollapsed(final TreeExpansionEvent event) {
		Object[] listeners = treeListeners.getListeners();
		for (int i = 0; i < listeners.length; ++i) {
			final ITreeViewerListener l = (ITreeViewerListener) listeners[i];
			SafeRunnable.run(new SafeRunnable() {
				public void run() {
					l.treeCollapsed(event);
				}
			});
		}
	}
	/**
	 * Fires a tree expanded event. Only listeners registered at the time this
	 * method is called are notified.
	 * 
	 * @param event
	 *            the tree expansion event
	 * @see ITreeViewerListener#treeExpanded
	 */
	protected void fireTreeExpanded(final TreeExpansionEvent event) {
		Object[] listeners = treeListeners.getListeners();
		for (int i = 0; i < listeners.length; ++i) {
			final ITreeViewerListener l = (ITreeViewerListener) listeners[i];
			SafeRunnable.run(new SafeRunnable() {
				public void run() {
					l.treeExpanded(event);
				}
			});
		}
	}