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

Re: [Subclipse-dev] History as revision graph

From: Alberto Gimeno <gimenete_at_gmail.com>
Date: Thu, 3 Jul 2008 15:30:23 +0200

Ok. I didn't see any advantage in implementing it as an Editor. Now I
see: we can have several instances, each one showing a different
graph.

So, I have just commited the changes I've made to make it work as an
editor. So now I don't listen to selection changes. And I have moved
the popup menu action to the "team" group.

Now I want to work in the graph.
* Zomm in / out
* Outline
* Nicer (I like something like this http://trac-hacks.org/wiki/RevtreePlugin).
- different colors and maybe shapes (circle, rectangle,...) for each branch.
- less information in each node. For example only show the revision
number. But you'll be able to see that information maybe as a big
tooltip when moving the mouse over the node.
- different colors and maybe shapes depending on the action ('A', 'M', 'D').
- highlight the selected branch.

I'll think on how to add the merge information to the database.

On Wed, Jul 2, 2008 at 5:51 PM, Eugene Kuleshov <eu_at_md.pp.ru> wrote:
> Alberto Gimeno wrote:
>>
>> I don't have very much knowledge on Eclipse Workbench APIs, but I see
>> that EditorPart (the base class for an editor) has methods that don't
>> make sense for the revision graph. Examples: doSave(), doSaveAs(),
>> isDirty(),...
>>
>
> So what? The graph editor will be read only and don't need to implement
> those methods. There is isSaveOnCloseNeeded() that can return false to
> indicate that editor is not writable.
>>
>> To change the implementation from the view to an editor I just need to
>> change "extends ViewPart" to "extends EditorPart" and left those
>> methods empty.
>>
>
> Pretty much.
>
> regards,
> Eugene
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: dev-help_at_subclipse.tigris.org
>
>

-- 
Alberto Gimeno Brieba
Presidente y fundador de
Ribe Software S.L.
http://www.ribesoftware.com
ribe_at_ribesoftware.com
Contacto personal
eMail: gimenete_at_gmail.com
GTalk: gimenete_at_gmail.com
msn: gimenete_at_hotmail.com
página web: http://gimenete.net
teléfono móvil: +34 625 24 64 81
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-07-03 15:30:40 CEST

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

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