|Re: how to make instance model from ecore file [message #1290477 is a reply to message #1290049]
||Thu, 10 April 2014 02:44
| Ed Willink
Registered: July 2009
Completely different concepts.
Code generation gives you a Java implementation of the metamodel. You
edit the *.ecore metamodel with the Ecore Model editor.
A dynamic instance gives you a model conforming to the metamodel. You
edit the *.xmi model with the Reflective Ecore Model Editor, or *.xxxx
model in a nested Eclipse after generating an XXXX editor from your
On 09/04/2014 22:56, Daniel Tahin wrote:
> Ed Merks wrote on Mon, 24 May 2010 08:36
>> To do this dynamically, you can use Create Dynamic Instance from an
>> EClass' context menu. Otherwise, follow some of the basic tutorials
>> on the EMF documentation page.
>> wafaa wrote:
>> > how to make instance model from ecore file
>> > I have an ecore metamodel called owl.ecore, and I want to create >
>> models where classes belong to the metamodelEcore file
> but what is the purpose of creating a Dynamic Instance of an EClass,
> instead of generating code from the model?
> Thank you,
Powered by FUDForum
. Page generated in 0.01624 seconds