Bug 89773 [Viewers] Search keeps showing selection while results still being added
build I20050330-0500 - do a search that will generate many results (refs to PartInitException in my case) - as the results are being added, select one of the first matches, then use the scroll wheel or scroll bar to scroll down and see the results as they come in - it keeps jumping back to show the selection I hope it's not the basic viewer refresh code that's doing this (I don't think so).
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
ArrayList v = new ArrayList();
        internalCollectExpanded(v, getControl());
        return v.toArray();
    }
    /**
     * Returns whether the node corresponding to the given element is expanded
     * or collapsed.
     * 
     * @param element
     *           the element
     * @return <code>true</code> if the node is expanded, and <code>false</code>
     *         if collapsed
     */
    public boolean getExpandedState(Object element) {
        Assert.isNotNull(element);
        Widget item = findItem(element);
        if (item instanceof Item)
            return getExpanded((Item) item);
        return false;
    }
    /**
     * Returns the number of child items of the given SWT control.
     * 
     * @param control
     *           the control
     * @return the number of children
     */
    protected abstract int getItemCount(Control control);
    /**
     * Returns the number of child items of the given SWT item.