Community
Participate
Working Groups
Label providers are useful for updating the text and icons of JFace viewer items, but it is also often desirable to change the colors and fonts. IColorProvider will change the colors of items in TreeViewer, but in the table viewers it doesn't seem to be possible to control the color of each item in a row, only of complete rows. PropertySheetViewer doesn't pay any attention to the color provider. It would be very useful to be able to control the text, color, and font of the individual viewer items (widgets) at the JFace level. One approach may be to implement a IFontProvider similar to the IColorProvider, and making the viewers (i.e. TreeViewer, TableViewer, TableTreeViewer, and PropertySheetViewer) pay attention to it. For the table-based viewers it is desirable to control individual items as opposed to rows (similar reason to why ITableLabelProvider was introduced, I guess).
Tod, fire this back to me if you'd like me to look at it.
This is quite a big amount of work this late in the 3.0 cycle. We should defer to 3.1.
Reopening now that 3.0 has shipped
Marking as a dup of 61869 so that discussion around this can continue there *** This bug has been marked as a duplicate of 61869 ***