Bug 59037 [Navigator] Package explorer flicker when switching/closing editors
If 'Link with editor' is active I see a lot of redrawing going on in the Package Explorer view when I switch between editors (or close an open editor). If the file opened in the second editor already appears in the Package Explorer, it is simply selected and there is no flicker. If, however, the view has to be scrolled to show the second file, I see a lot of redrawing before the view is shown in the new position. The Outline view also seems to draw a white background before drawing the content for the active editor, but it's not nearly as annoying as the Package Explorer (it's true that hte PAckage Explorer has much more items, though).
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
*/
    public void remove(final Object[] elements) {
        assertElementsNotNull(elements);
        preservingSelection(new Runnable() {
            public void run() {
                internalRemove(elements);
            }
        });
    }
    /**
     * Removes the given element from the viewer. The selection is updated if
     * necessary.
     * <p>
     * This method should be called (by the content provider) when a single
     * element has been removed from the model, in order to cause the viewer to
     * accurately reflect the model. This method only affects the viewer, not
     * the model. Note that there is another method for efficiently processing
     * the simultaneous removal of multiple elements.
     * </p>
     * 
     * @param element
     *           the element
     */
    public void remove(Object element) {
        remove(new Object[] { element });
    }
    /**
     * Removes all items from the given control.
     * 
     * @param control