Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:28 Go to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
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 "/>

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

I would appreciate any help!
Best regards.

[Updated on: Fri, 06 November 2009 09:46]

Report message to a moderator

Re: Delete/Rename/Move.. Files/Folders... [message #499486 is a reply to message #495821] Mon, 23 November 2009 00:39 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
Look at the LTK stuff, that provides checking and notification of all of these things.

Re: Delete/Rename/Move.. Files/Folders... [message #499618 is a reply to message #495821] Mon, 23 November 2009 14:44 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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,


Re: Delete/Rename/Move.. Files/Folders... [message #558272 is a reply to message #499618] Fri, 10 September 2010 18:27 Go to previous message
Swati Sapar is currently offline Swati SaparFriend
Messages: 20
Registered: September 2010
Junior Member
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 :
Previous Topic:Bad file properties after CVS update
Next Topic:Hide context menuitem in navigator/package explorer
Goto Forum:

Current Time: Wed Jan 27 08:22:53 GMT 2021

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

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

Back to the top