Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364183 - Not all elements from Meta-models stored in several resources are seen by the regular VM EMF model handler.
Summary: Not all elements from Meta-models stored in several resources are seen by the...
Status: NEW
Alias: None
Product: MMT.ATL
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: mmt-atl.toolkit-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 12:31 EST by Dominique Blouin CLA
Modified: 2011-11-18 12:31 EST (History)
0 users

See Also:


Attachments
Source code of the modified class. (13.25 KB, text/x-java)
2011-11-18 12:31 EST, Dominique Blouin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Blouin CLA 2011-11-18 12:31:34 EST
Created attachment 207233 [details]
Source code of the modified class.

I have an Ecore meta-model stored in several resources. When I use the regular VM, not all classes of the meta-model are visible.

This can be fixed by changing the ASMEMFModel class. In the addReferencedExtentsFor() method, there is a test that checks that a reference is containment before adding the resource declaring the type of the reference to the set of meta-model resources. I include the fixed class.