| [news.eclipse.platform] Re: Decorators like in CVS/SVN plug-in |
Hello!
I am registering my decorators at the decorator manager to decorate my label provider. This works very well. The suffix or prefix text should appear in another color than the text provided by the label provider. The CVS/SVN plugins have such a nice feature: they provide versioning information in a grayed color (in the package explorer), so that the user can easily distinguish between various information. If I change the color on the passed IDecorator (I am implmenting ILightWeightLabelDecorator) then the whole label has the changed color, not only the suffix/prefix text.
How can I achieve such a behaviour like done in CVS/SVN plug-ins?!? Are they using decorators or are they doing some other technique?!? Can someone give me any hints or code how get such results?
Thanks a lot, Matthias
Hi,
-- kind regards, Jakub
http://eclipser-blog.blogspot.com/ http://eclipse-po-polsku.blogspot.com/