Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » implementation behind creating dymanic instance model from .Ecore model
implementation behind creating dymanic instance model from .Ecore model [message #1088037] Fri, 16 August 2013 13:41 Go to next message
Adnan AL-SOSWA is currently offline Adnan AL-SOSWA
Messages: 41
Registered: May 2010
Member
HI ,

I am looking for how EMF actually works , I want to understand what is the implementation behind creating dynamic instance from .ecore model to create instance model from metamodel .

Any guidance or explanation is appreciated

Thanks in advance .
Re: implementation behind creating dymanic instance model from .Ecore model [message #1088048 is a reply to message #1088037] Fri, 16 August 2013 13:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26152
Registered: July 2009
Senior Member
Adnan,

I suppose you found these two articles:

http://www.ibm.com/developerworks/library/os-eclipse-dynamicemf/
http://www.devx.com/Java/Article/29093

Try them out and use the debugger to explore how it works. Basically
EObjectImpl supports all that. You can call eSetClass with an EClass
from well formed model, and that implementation class will behave as an
instance.



On 16/08/2013 3:41 PM, Adnan AL-SOSWA wrote:
> HI ,
> I am looking for how EMF actually works , I want to understand what is
> the implementation behind creating dynamic instance from .ecore model
> to create instance model from metamodel .
> Any guidance or explanation is appreciated
> Thanks in advance .
Re: implementation behind creating dymanic instance model from .Ecore model [message #1093743 is a reply to message #1088048] Sat, 24 August 2013 15:39 Go to previous message
Adnan AL-SOSWA is currently offline Adnan AL-SOSWA
Messages: 41
Registered: May 2010
Member
Thank you very much .
Previous Topic:creating new EObject from Class; is it possible?
Next Topic:[Xcore] multi-level class hierarchy extension
Goto Forum:
  


Current Time: Fri Oct 31 18:44:40 GMT 2014

Powered by FUDForum. Page generated in 0.01608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software