Bug 89137 [JFace] - API Review - "temporary" API in AbstractTreeViewer
AbstractTreeViewer contains two methods documented as "temporary" internalRefresh(Widget, Object) internalAdd(Widget, Object, Object [])
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
for (int i = 0; i < items.length; i++) {
              if (items[i].getData().equals(element)) {
              	
              	refresh(element);
                  return;
              }
          }
        }
        int index = indexForElement(widget, element);
        if (getSorter () != null) {
          
          
          if (index > 0
              && getChild (widget, index - 1).getData().equals(element)) {
            
            refresh(element);
              return;
          }
        }
        createTreeItem(widget, element, index);
    }
    /**
     * Returns the index where the item should be inserted.
     * 
     * @param parent
     *           The parent widget the element will be inserted into.
     * @param element
     *           The element to insert.
     * @return int
     */