Re: Plugin Menus

by Puybaret » Thu Oct 17, 2013 9:53 pm

The JPopupMenu contextual menus are accessible through the getComponentPopupMenu method of the Swing views. So, it should be possible to modify them directly if needed.
For example, the following call will return the contextual menu of the 3D view:

Code: Select all

((JComponent)getHomeController().getHomeController3D().getView()).getComponentPopupMenu()