Bug 177489 [Viewers] Document usability of IColorProvider, IFontProvider not usable for ListViewers
This week I had this 2 times. Users complaint that IColorProvider and IFontProvider are not working for their ListViewer. I'd like to mention this in the JavaDoc. Question is where the best place for this would be: - in the interfaces itself - in AbstractListViewer#setLabelProvider() or in both places?
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractListViewer.java
* @param element the element to insert
     * @return the index where the item should be inserted.
     */
    protected int indexForElement(Object element) {
        ViewerComparator comparator = getComparator();
        if (comparator == null) {
			return listGetItemCount();
		}
        int count = listGetItemCount();
        int min = 0, max = count - 1;
        while (min <= max) {
            int mid = (min + max) / 2;
            Object data = listMap.get(mid);
            int compare = comparator.compare(this, data, element);
            if (compare == 0) {
                
                while (compare == 0) {
                    ++mid;
                    if (mid >= count) {
                        break;
                    }
                    data = listMap.get(mid);
                    compare = comparator.compare(this, data, element);
                }
                return mid;
            }
            if (compare < 0) {
				min = mid + 1;
			} else {
				max = mid - 1;