2
votes

I would like to create my own metamodel by extending a third party EMF meta model. Currently I am using a third party ecore-model and would like to add an extra attribute to a specific EClass. I cannot change the existing metamodel due to the opensource license agreement. I have searched internet for the solutions, but failed to find any. Any help will be appreciated.

1

1 Answers

3
votes

You can take a look to the EMF-Facet project:

https://www.eclipse.org/facet/

...EMF Facet proposes a solution to extend existing Ecore metamodels without having to modify them. The idea is to provide non-intrusive mechanisms to add new features (types, attributes, operations and references) to a metamodel...

I'm not sure that exactly what you are searching for, but perhaps it can give your ideas or pointers to others technologies.