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()