javaswteclipse-rcpnattablenebula

How to add context menu for a Nat Table?


I want to add a context menu for a NatTable. I have a view where other controls are also present. Context menu should only pop-up when I right click anywhere on the NatTable. How can I achieve this? Also I wanted to know, how to add context menu through commands and handlers for NatTable. Is there a special way to do this for NatTable? Please let me know how to implement this?


Solution

  • Please read the blog post I have published a while ago:

    http://blog.vogella.com/2015/02/03/nattable-context-menus-with-eclipse-menus/