[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: Tue, 1 Jul 2008 18:07:52 +0200

Thank you very much Steve.

I'm finishing (more or less) to show the graph as an Eclipse View (see
this shot http://www.flickr.com/photos/gimenete/2628525610/). By now
I'm displaying fake information just for testing purposes.

I'll follow your steps once I have the view totally integrated. And if
I have some question I'll ask you.

Thank you again!

On Tue, Jul 1, 2008 at 5:27 PM, Steve Elsemore <selsemore_at_collab.net> wrote:
> Alberto,
> Let me know if you need any help making this runnable as a background
> operation. It should be fairly simple. I would start by creating my own
> operation class that extends
> org.tigris.subversion.subclipse.ui.operations.SVNOperation (you'll need to
> add org.eclipse.team.ui to your plugin dependencies). Then you'll just need
> to override the execute(IProgressMonitor monitor) method to do the actual
> work that's currently in your action, and and override the getTaskName()
> method to return a meaningful description of the operation ("Retrieving
> revision history for <resource name>", or something like that), and make
> your action create and run your operation. Background jobs don't run in the
> UI thread, so when you're ready to actually show the graph you'll need to do
> something like this:
> Display.getDefault().syncExec(new Runnable() {
> public void run() {
> showGraph(nodes, path);
> } });
> Steve
> On 6/30/08 11:08 AM, "Mark Phippard" <markphip_at_gmail.com> wrote:
> 2) Given how long it takes to build the cache, the whole thing should
> be runnable as a background operation. Steve Elsemore should be able
> to help you with that.

Alberto Gimeno Brieba
Presidente y fundador de
Ribe Software S.L.
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-01 18:08:05 CEST

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