Project: Eclipse_Platform_UI
Bug 126874 [Viewers] Apidoc for setting ITableColorProvider missing
Reported: 2006-02-08 03:53:34 | Status: verified fixed

I wanted to add some color to my table. First i found out about ITableColorProvider, but didnt know where to register it. After digging into the eclipse source code, i found out that org.eclipse.jface.viewers.TableViewer has a method named setLabelProvider with one argument IBaseLabelProvider. In the code, but not the javadoc, it says that you can also register ITableFontProvider and ITableColorProvider with it, assuming the instance implements these types, too. Please consider documentating this feature in the corresponding javadoc, as its part of the methods functionality and contract.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java