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

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
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

It's something in between a bug and a feature.
Previous Topic:replacing WorkbenchLogger
Next Topic:JavaScript Explorer not showing project until refresh in eclipse 4 RCP application
Goto Forum:

Current Time: Fri Jun 22 01:49:09 GMT 2018

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

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

Back to the top