|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Plugin Menus » » » » Post: Re: Plugin Menus |
Print at Dec 21, 2025, 7:18:15 AM |
| Posted by Puybaret at Oct 17, 2013, 9:53:11 PM |
|
Re: Plugin Menus 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: ((JComponent)getHomeController().getHomeController3D().getView()).getComponentPopupMenu()---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 21, 2025, 7:18:15 AM |