Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:08
Michal Zyla is currently offline Michal ZylaFriend
Messages: 18
Registered: August 2016
Junior Member
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 16:36]

Report message to a 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: Thu Nov 15 00:09:36 GMT 2018

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

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

Back to the top