[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] how hard are such simple things as colorizing the annotate view?

From: Georg-W. Koltermann <Georg.Koltermann_at_mscsoftware.com>
Date: 2006-04-14 22:30:13 CEST

Hi,

I had some time today so I thought I might try a simple thing like
colorizing the annotate view in subclipse. Emacs user will know what I
mean :-)

This was my first shot at modifying an eclipse plugin.

I managed to prepend the changeset date to the lines in the left part of
the view (the list), but was lost looking for a place where I could set
the color of the lines. It seems the list is rendered by a built in SWT
widget that only has foreground and background colors, but does not
allow to specify colors, say, per line. Is my understanding correct?

Could someone lend me a helping hand for getting the lines colorized?
For those of you not familiar with Emacs, I want the lines to be kind of
temperature colored, so lines that were introduced a long time before in
history should have a cold color while new lines should have a warm
(hot) color. I'd like to see that both in the list view (left) and in
the editor (right).

Part of my problem is that I have never worked with SWT nor on eclipse
plugins before, so I don't know in what direction to look. Even some
pointers what approach to take or what widgets to subclass would be of
great help.

--
Thanks,
Regards,
Georg.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Apr 14 22:30:46 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.