Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » MApplication.find does not find MenuContributions
MApplication.find does not find MenuContributions [message #1216193] Thu, 28 November 2013 11:06 Go to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
Registered: July 2012
Senior Member
I created a MenuContribution in my Application.e4xmi.
Then I tried to start a search for the MenuContribution, which is a new ModelElement.
The simple getter works.
        // does not work
        mApplication = eclipseContext.get(MApplication.class);
        modelService.findElements(mApplication, idContribution, null, null);
        modelService.findElements(mApplication, idCore, null, null);
        modelService.findElements(mApplication, idContribution);
        // works
        mApplication.getMenuContributions()


Is it a bug or is it intended behaviour?
Unfortunately I can not login to bugzilla to commit it as a bug.
Re: MApplication.find does not find MenuContributions [message #1216245 is a reply to message #1216193] Thu, 28 November 2013 11:39 Go to previous message
Eclipse UserFriend
It's something in between a bug and a feature. https://bugs.eclipse.org/bugs/show_bug.cgi?id=383403
Previous Topic:replacing WorkbenchLogger
Next Topic:JavaScript Explorer not showing project until refresh in eclipse 4 RCP application
Goto Forum:
  


Current Time: Sat Apr 20 02:23:14 GMT 2024

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

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

Back to the top