Non-containment references EMF reflective model editor [message #621329] |
Tue, 25 August 2009 00:34 |
Tee Bee Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Hi!
I wonder whether someone could help me with some insight regarding
instantiation of a meta model class that is referred merely with the use
of a non-containment reference in the emf reflective model editor?
Consider a meta model (pure .ecore file) consisting of three classes:
House, Room and Type. House is composed of Rooms (containment reference),
and has a type of Type (non-containment reference). Moreover, making a
dynamic instance of the House class and thus instances of Room using the
reflective model editor work great! However, I have not found any way of
creating an instance of the Type class and associate it with my House
class, due to the Type class not being contained by House.
Any ideas how I can create my Type instance in the model?
All help is highly appreciated!
|
|
|
Powered by
FUDForum. Page generated in 0.02537 seconds