sub menu in a popup menu are displayed only once [message #1716801] |
Tue, 08 December 2015 10:14 |
|
Hello,
1/ I declare popup menu, with sub menu in the plugin.xml file.
2/ as I don't register my popup menu to the editor site, I build it myself, calling
menuService.populateContributionManager((MenuManager) menuManager, this.menuLocation);
-> the submenu are correctly displayed for the first right click, but not after.
In attachment :
- the plugin.xml
- the abstract java class used to fill the menu from the plugin.xml file.
- 2 images, one with the wante result (obtained with the first right click), the second one it the menu obtained for the next right click.
In fact I'm refactoring the popup menu of the Papyrus Table, in order to be able to get them outside of a part (EditorPart). It works fine excepted for sublmenu.
For interesed people, the full contribution is available as draft here :
https://git.eclipse.org/r/#/c/62009/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03945 seconds