Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] KM3 metamodel extension
[ATL] KM3 metamodel extension [message #57155] Thu, 09 August 2007 18:57 Go to next message
Eclipse UserFriend
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 20:00 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:[ATL] Why returning a sequence of a sequence ?
Next Topic:[ATL] loadModel and SaveModel
Goto Forum:
  


Current Time: Thu Dec 26 18:53:39 GMT 2024

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

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

Back to the top