|Overriding delete command of the project explorer [message #502801]
||Wed, 09 December 2009 17:53
Registered: July 2009
I'm developing an rcp application that uses the standard project explorer view. My
application also provides project nature.
I want to replace the default "delete" handler provided by the project explorer view when
a project contains my nature.
My plugim.xml file contains the following handler:
The handler works correctly :
1- in the Edit/Delete menu
2- or when I press the Delete key (key binding)
However, when I right click on a IProject and click on the Delete popup menu item, my
handler is ignored and the default handler is called...
Why my handler is ignored when the delete command is called from the context menu of the
project explorer and works correctly from menu and key binding?
Moreover, If I had a second Delete contribution item in contextual menu of the project
explorer view, my handler work correctly...
Any help will be appreciate...
Powered by FUDForum
. Page generated in 0.01512 seconds