Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How can I override popup menu commands?
How can I override popup menu commands? [message #1042157] Mon, 15 April 2013 23:54
CB Liu is currently offline CB Liu
Messages: 3
Registered: April 2013
Junior Member
I would like to use my own logic for commands such as delete/copy/paste/... in the project explorer.

So far I have used the extension points "org.eclipse.ui.handlers" to register the handler for DELETE key.

<extension
         point="org.eclipse.ui.handlers">
      <handler
            class="my.DeleteFileHandler"
            commandId="org.eclipse.ui.edit.delete">
      </handler>
</extension>


My problem is that the popup menu of the project explorer still has the default behaviour. Is there a way to override this as well? Thanks.
Previous Topic:What is the future of Common Navigator Framework?
Next Topic:How to override behaviour of "delete" in popup menu of project explorer?
Goto Forum:
  


Current Time: Tue Sep 02 15:13:25 EDT 2014

Powered by FUDForum. Page generated in 0.02197 seconds