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
}
            unmapAllElements();
            List selection = getSelectionFromWidget();
            
            int topIndex = -1;
            if (selection == null || selection.isEmpty()) {
            	topIndex = listGetTopIndex();
            }
            
            list.setRedraw(false);
			listRemoveAll();
            
            Object[] children = getSortedChildren(getRoot());
			String[] items = new String[children.length];
			
			ILabelProvider labelProvider = (ILabelProvider) getLabelProvider();
			
			for (int i = 0; i < items.length; i++) {
                Object el = children[i];
                items[i] = getLabelProviderText(labelProvider, el);
                listMap.add(el);
                mapElement(el, list); 
            }
			
			listSetItems(items);
            list.setRedraw(true);
            
            if (topIndex == -1) {
            	setSelectionToWidget(selection, false);
            } else {