Implement Right Click Event

How to implement Right click event for Palette object present inside floorplanner app.
I need to implement Right click event for furniture objects present inside floorplanner App.
How can i achieve it .


Modify the template(s) in the Palette to include a contextClick event handler.

For the common case where you want to show a context menu, you could instead do the simpler task of providing a context menu (either an Adornment or an HTMLInfo) by setting the node’s contextMenu property.