Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » E4 model service find method doesn't find MPopupMenu
E4 model service find method doesn't find MPopupMenu [message #1783495] Tue, 13 March 2018 12:08
Eclipse UserFriend
Hi

In my app I want to access all MPopupMenu's. I registered a processor that is supossed to activate after merging of the model.
List<MPopupMenu> menus = modelService.findElements(app, null,
                MPopupMenu.class,
                null);
List<MPopupMenu> findElements = modelService
                .findElements(app, MPopupMenu.class, EModelService.ANYWHERE, null);

Both calls retun empty list. When I look for the Part where the menu is defined I can access it without problem. Is there a special way to access the menu elements?

Regards
Michal

[Updated on: Tue, 13 March 2018 12:36] by Moderator

Previous Topic:DirectMenuItem corresponding class is initializing twice
Next Topic:MPart in Handler assigned to the part is not injected? (SOLVED)
Goto Forum:
  


Current Time: Tue Jul 15 11:45:11 EDT 2025

Powered by FUDForum. Page generated in 0.05260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top