Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Delete/Rename/Move.. Files/Folders...(Package Explorer action on project/file/folder)
Delete/Rename/Move.. Files/Folders... [message #495821] Fri, 06 November 2009 04:28 Go to next message
Eclipse UserFriend
Hello,
We have our own plugin with its own project nature e.c. . Now if a file of our project gets deleted/renamed/moved... by the user we need some additional actions.
Does somebody knows the extension point or something else to get invoked if a user starts any of those actions?

I tried the following:
<extension point="org.eclipse.core.resources.moveDeleteHook">
<moveDeleteHook class="a4l.wizard.participants.DeleteMoveParicipant "/>
</extension>

But it seems that it the package explorer events will not invole the DeleteMoveParicipant methods.

I would appreciate any help!
Best regards.
Alex

[Updated on: Fri, 06 November 2009 04:46] by Moderator

Re: Delete/Rename/Move.. Files/Folders... [message #499486 is a reply to message #495821] Sun, 22 November 2009 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Look at the LTK stuff, that provides checking and notification of all of these things.

http://www.eclipse.org/articles/Article-LTK/ltk.html
Re: Delete/Rename/Move.. Files/Folders... [message #499618 is a reply to message #495821] Mon, 23 November 2009 09:44 Go to previous messageGo to next message
Eclipse UserFriend
The package explorer uses the LTK actions (as pointed to by Francis).

The Project Explorer doesn't yet if the action was initiated as Drag and Drop, https://bugs.eclipse.org/bugs/show_bug.cgi?id=208910

PW
Re: Delete/Rename/Move.. Files/Folders... [message #558272 is a reply to message #499618] Fri, 10 September 2010 14:27 Go to previous message
Eclipse UserFriend
Add you own Project builder. This will be invoked after every action in Project explorer. You can add your response actions to your ProjectBuilder
extn : org.eclipse.core.resources.builders
Previous Topic:Bad file properties after CVS update
Next Topic:Hide context menuitem in navigator/package explorer
Goto Forum:
  


Current Time: Fri Jul 04 20:45:13 EDT 2025

Powered by FUDForum. Page generated in 0.54428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top