Bug 126874 - [Viewers] Apidoc for setting ITableColorProvider missing
Summary: [Viewers] Apidoc for setting ITableColorProvider missing
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.2 RC7   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2006-02-08 03:53 EST by Daniel Lindner CLA
Modified: 2006-06-02 15:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Lindner CLA 2006-02-08 03:53:34 EST
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.
Comment 1 Boris Bokowski CLA 2006-02-13 10:51:56 EST
Yes, thanks for pointing this out.
Comment 2 Daniel Lindner CLA 2006-02-14 08:43:45 EST
Hi Boris. Met you at your JUGS SIG Eclipse presentation of GEF.
Perhaps this circumstance is explained already somewhere in the eclipse documentation, but i havent found it.
I think, a link in the Apidoc to the specific documentation entry would be sufficient (assuming one exists).
Comment 3 Boris Bokowski CLA 2006-05-30 15:52:51 EDT
Released >20060530.
Comment 4 Boris Bokowski CLA 2006-06-02 15:47:07 EDT
Verified in I20060602-0010.