[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: [ATL] KM3 metamodel extension

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