Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[KM3] Problems with meta-model extension
https://www.eclipse.org/forums/index.php/mv/msg/171599/545837/#msg_545837
In this new extension we want to avoid inheriting some attributes and we don't know how to do it.
We have consulted the documentation and haven't found any solution to do it.
We also tried to redefine these attributes to have other behaviour but don't work.
Could you tell us how to do it?
thanks
Best regards]]>Alvaro Jimenez Rielo2010-07-09T11:04:28-00:00Re: [KM3] Problems with meta-model extension
https://www.eclipse.org/forums/index.php/mv/msg/171599/545875/#msg_545875
Metamodel extension works by adding new elements, not removing elements (i.e., it is from this point of view similar to class inheritance in Java).
Supposing you have metamodel A, and you want metamodel B to extend a part of A and drop the rest. The best solution I can think of right now is to define metamodel C that corresponds to the common parts between A and B. Then A and B may extend C.
Best regards]]>Frédéric Jouault2010-07-09T13:50:42-00:00