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

RE: Re: Re: Re: [Subclipse-dev] Extending Subclipse Commit

From: Roberto M. <roby88_at_bluewin.ch>
Date: Thu, 8 Apr 2010 07:27:05 -0700 (PDT)

I already checked out the code and try to work with it.

In my plug-in I implemented a "Commit 2.0..." pop-up menu, right under Subclipse pop-ups in the team.main extension point (i.e. Commit... and others).

Once the user select an IResource and right-cliks on my "Commit 2.0..." action I should be able to get all the local resources within the one selected (i.g. if it's a package all the classes in it, if it's a project all the packages in it), get the HEAD version, from the repo of the corresponding resources, generate the visualization and then show the ordinary Subclipse commit dialog.

By now I am able to do everything written above locally (i.g. the users has to select two items, either two packages or two projects) to generate the visualization and proceed.

I'd like to get addressed on how to do the last part (get the HEAD version, from the repo of the corresponding resources). By now I'm able to get these resources but they are ISVNRemoteResource. To tun my action I need to have IResources and I do not know how to cast them, if possible.

Thanks again in advance for your help.

RM

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=2522319

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2010-04-08 16:27:07 CEST

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