| 
| [ATL] KM3 metamodel extension [message #57155] | Thu, 09 August 2007 14:57  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: zhangj.cis.uab.edu 
 Hello,
 
 I have a question for ATL/KM3. How to specify a km3 metamodel that extends
 another km3 metamodel which is defined somewhere else? Do I need to set up
 any path to guide the km3 parser to find the superclass?
 
 Thanks,
 Jing
 |  |  |  | 
| 
| Re: [ATL] KM3 metamodel extension [message #57181 is a reply to message #57155] | Thu, 09 August 2007 16:00  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: marcos.didonet-del-fabro.univ-nantes.fr 
 Hello,
 
 You can use the generic editor, as if you were creating a complete KM3
 metamodel. However, the editor will indicate syntax errors, since it
 cannot refer to the extended elements.
 
 We have a typical case of metamodel extension when using the AMW
 plug-in. We define an extension like that:
 
 class Attribute extends WLinkEnd {
 }
 
 The WLinkEnd class is defined in a core weaving metamodel. In this
 particular case, it is not necessary to set up any path, because the
 core metamodel is extended automatically when using the AMW tool.
 
 Regards,
 
 Marcos.
 
 Jing Zhang wrote:
 > Hello,
 >
 > I have a question for ATL/KM3. How to specify a km3 metamodel that
 > extends another km3 metamodel which is defined somewhere else? Do I need
 > to set up any path to guide the km3 parser to find the superclass?
 > Thanks,
 > Jing
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05104 seconds