Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Loading order of model fragment
Loading order of model fragment [message #1218450] Fri, 29 November 2013 04:22
Tuan Anh Nguyen is currently offline Tuan Anh Nguyen
Messages: 7
Registered: June 2013
Junior Member
Hi all,
I am working on a project using Eclipse E4 as OSGI and UI framework. Everything work ok till i try to contribute a model fragment (from a plugin B) to an other model fragment (from plugin A). It won't work and i think there is some problem with loading order of application model. Follow a suggestion from a guys on eclispe forum i solved the problem by adding plugin A as a dependency to plugin B. But another problem has been borned from this Smile .
Here is my situation
Application A with plugin Hello contribute a model fragment
Applicaton B with plugin Hi contribute a model fragment
Plugin X contribute a model fragment to both Hello and Hi's model fragments, so the plugin X must add dependency to both plugin Hello and Hi. It means Application A and B must add dependency to each other's plugin. This will lead to a complex situation if plugin Hello and Hi have many other dependencies

Is there any solution or work-around for this problem. Thank you very much!

[Updated on: Fri, 29 November 2013 04:24]

Report message to a moderator

Previous Topic:Close Part Listener
Next Topic:Controlling fragment contributions
Goto Forum:
  


Current Time: Mon Jul 28 04:32:34 EDT 2014

Powered by FUDForum. Page generated in 0.01753 seconds