| [news.eclipse.tools.emf] Re: On-the-fly EMOF-to-Ecore mapping |
Víctor,
Comments below.
I'm always curious if .emof files come from anything other than EMF. Where did your EMOF models come from?Hi!
I've been experimenting a bit with .emof files.
I was surprised how these kind of files could be opened without any EMOF metamodel registered. Taking a look at the source code I realized that there was an on-the-fly mapping during XMI serialization.Yes, the EMOF and Ecore models pretty near isomorphic.
Where did they come from?
I actually had some EMOF-based metamodels, but it was not possible to generate instances of that metamodel.
Creating the genmodel failed.Did you validate the Ecore model that was produced? The generator typically does that for you, so I imagine it would be hard to overlook the warnings/errors. What exactly failed?
That should be possible. I'd need to understand what isn't working.I think it's possible to be generated programmatically, but I'm aiming to generate editors to create instances of my .emof based metamodel
It should definitely be possible, as long as the resulting Ecore model is well formed and complete. Validation should find all the problems. I'll need more details.
My question is if it's really possible to generate the genmodel for an ..emof file, and in case there isn't, if there is any plan to give support to it.
Regards, Víctor.