Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 11523 - [Decorators] Add color decoration to ILabelDecorator
Summary: [Decorators] Add color decoration to ILabelDecorator
Status: RESOLVED DUPLICATE of bug 23011
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.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: 2002-03-18 04:57 EST by Boris Pruessmann CLA
Modified: 2002-09-06 13:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Pruessmann CLA 2002-03-18 04:57:45 EST
I need to implement functionality which colors the labels in the 
resource/packages/etc. views based on the resource's state. 

Please add corresponding functionality to the ILabelDecorator interface. While 
this is a breaking API change, I think that it will be very easy to implement 
these changes for thos who don't need the feature.
Comment 1 Kevin Haaland CLA 2002-03-20 16:13:01 EST
I am not sure that I fully understand this request. Are you asking for the 
ability to add the capability to have label decorators that permit changing the 
color of the string that appears in the package resource views etc?
Comment 2 Boris Pruessmann CLA 2002-03-21 02:44:42 EST
Correct. The ILabelDecorator should get methods like decorateTextBackground 
and decorateTextForeground which return a color used to paint the 
corresponding labels. 

This makes it possible to e.g. color non-synchronized files in blue. See 
http://www.instantiations.com/assist/docs/browser_color_hilite.htm 
Comment 3 Tod Creasey CLA 2002-09-06 13:49:36 EDT

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