How to get notified when Eclipse renames or deletes a file in the workspace? [message #331032] |
Thu, 21 August 2008 16:42 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: nick.allen.onlinehome.de
Hi,
I am writing a plug-in for the Bazaar version control system. When
Eclipse renames a file I would like to know about it so I can tell
Bazaar that the file has been renamed. I've heard about the Team
framework but I don't want the user to have to tell Eclipse that
something is under version control for this to work. I would rather
Eclipse be intelligent about it. My plug-in knows what is under Bazaar
version control without the user having to tell it. So what I would like
is a callback that is called (and possibly allows me to veto it) when
Eclipse renames or deletes a file anywhere in the workspace.
My plug-in would then check if this file was under Bazaar version
control and do the right thing. Is this possible?
Many thanks,
Nicholas Allen.
|
|
|
|
Re: How to get notified when Eclipse renames or deletes a file in the workspace? [message #331043 is a reply to message #331035] |
Thu, 21 August 2008 21:39 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: nick.allen.onlinehome.de
Thanks for the link - this looks like exactly what I need ;-)
Nick
Francis Upton (News) wrote:
> Nearly everything is possible with Eclipse :)
>
> http://www.eclipse.org/articles/Article-Resource-deltas/reso urce-deltas.html
>
>
> Nicholas Allen wrote:
>> Hi,
>>
>> I am writing a plug-in for the Bazaar version control system. When
>> Eclipse renames a file I would like to know about it so I can tell
>> Bazaar that the file has been renamed. I've heard about the Team
>> framework but I don't want the user to have to tell Eclipse that
>> something is under version control for this to work. I would rather
>> Eclipse be intelligent about it. My plug-in knows what is under Bazaar
>> version control without the user having to tell it. So what I would like
>> is a callback that is called (and possibly allows me to veto it) when
>> Eclipse renames or deletes a file anywhere in the workspace.
>>
>> My plug-in would then check if this file was under Bazaar version
>> control and do the right thing. Is this possible?
>>
>> Many thanks,
>>
>> Nicholas Allen.
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03706 seconds