Referencing model instances from different models/files [message #537723] |
Thu, 03 June 2010 13:29 |
Yvette Messages: 13 Registered: May 2010 |
Junior Member |
|
|
Hello,
I am quite new to emf and I am sorry if this has been asked already.
I did the following:
I built an ecore Model A and then I generated the editors an create instances of my Model A.
Then I built a second model B and added this as a reference to one model element of model A. When I generate the editor I was able to load instances of model A as resources. But I am not able to get these resources in the dropdown List where I set the reference.
How can I do this?
Thanks
Yvette
I made a picture to show what I mean
[Updated on: Thu, 03 June 2010 13:46] Report message to a moderator
|
|
|
|
Re: Referencing model instances from different files [message #537769 is a reply to message #537723] |
Thu, 03 June 2010 15:17 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Yvette,
Once you load a resource into the editor's resource set, any cell
editors should include objects from that resource (not the resources
themselves) in the set of values they allow, given of course that there
are objects are of the right type.
Yvette wrote:
> Hello,
> I am quite new to emf and I am sorry if this has been asked already.
> I did the following:
>
> I built an ecore Model A and then I generated the editors an create
> instances of my Model A.
> Then I built a second model B and added this as a reference to one
> model element of model A. When I generate the editor I was able to
> load instances of model A as resources. But I am not able to get these
> resources in the dropdown List where I set the reference.
>
> How can I do this?
> Thanks
> Yvette
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03705 seconds