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

Re: [Subclipse-users] No lock icon indicating a locked file

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-04-18 01:16:07 CEST

On 4/17/07, KarMax <karmax@gmail.com> wrote:
> Mark, thanks for your answer!
>
> I searched in the user mail list before. Sorry i didn't see it.

Be sure to cc: the users@ list on any replies.

> I don't know nothing about subclipse, it will be easy to implement this feature?
> (can you tell me what classes must i look to do it?)

This is not a feature we will be adding to Subclipse. You would need
to do it in your own plug-in. It is not possible for this to perform
acceptably nor does it fit in with the existing API's that are called.

> I want to add an option in the Team context menu that calls the svn
> command "ls --verbose" and watch for the locked indicator. ( in svn
> it's an O) And update the icon where is needed.
>
> I think that there must be some easy way to add this, right?
> As far as i know subclipse now does "ls --verbose" and also know if a
> file is locked, right? (i read an email about this)
>
> Hope this doesn't bother to anybody

JavaHL does not expose this information in the list API so you would
have to wrap the command line. You'd have to look at Eclipse API docs
for adding a menu option. It is basically just creating a class and
having some plugin.xml to expose it. Of course you will also have to
create a plug-in in the first place to deliver your code.

I am not sure how would actually be able to update the decorator
though. Not saying it is not possible, just not sure how you would do
it.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Apr 18 01:16:14 2007

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