"Georg-W. Koltermann" <Georg.Koltermann@mscsoftware.com> wrote on
04/14/2006 04:30:13 PM:
> 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.
We either copied the CVS code or are using the same classes as them. I
only mention this because you might gave an easier time getting help if
you went to the eclipse.platform newsgroup and posed this as an idea that
you would like to implement for the CVS plugin, or just generally. What
would be ideal would be if the Eclipse core Team API just had an Annotate
viewer that team providers could provide annotation info to.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
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:38:27 2006