|Re: [Xtend]: definition of recursive extensions [message #553618 is a reply to message #553612]
||Wed, 18 August 2010 08:30
| Christian Dietrich
Registered: July 2009
the namespace ecore is for working with the ecore itself: e.g. when processing an .ecore file as model and working with EClass EAttribute EReference and so on.
If you just want to refer to the parent of an instance these (e.g. an EClass Model) you have to use the namespace emf and therein emf::EObject - this is just a technical thing (cause every metaclass inherits from EObject)
Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
[Updated on: Wed, 18 August 2010 08:35]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11469 seconds