Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 61956 - IColorProvider to set cell color in a TableViewer
Summary: IColorProvider to set cell color in a TableViewer
Status: RESOLVED DUPLICATE of bug 52963
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 13:54 EDT by Paulo Merson CLA
Modified: 2004-05-12 14:51 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 Paulo Merson CLA 2004-05-12 13:54:22 EDT
TableItem in r3.0 allows setting the color of individual cells.
TableViewer.doUpdateItem(...) should be changed to allow setting the color of 
individual cells as well. Today it sets the same color for the entire row.
This would fix a mismatch for label providers:
- image and text for a cell can be specified because getColumnImage and 
getColumnText both have columnIndex as an argument
- color for a cell cannot be specified because getForeground (in interface 
IColorProvider) does not have columnIndex as an argument
Comment 1 Kim Horne CLA 2004-05-12 14:51:42 EDT

*** This bug has been marked as a duplicate of 52963 ***