Dynamically loading a metamodel in EOL [message #1850888] |
Mon, 21 March 2022 11:01 |
|
For a dynamic use case I need access to the metamodel expressed as an EMC model in EOL. The underlying technology is EMF. I am deriving the metamodel from the type of the first model content.
I find that there is a method getMetamodel() on IModel, but it seems to require framework parameters. So this does not seem the right way to approach this.
Should I make a tool and escape to EMF for this case? It seems that there are EMC-EMF specific assumptions here.
|
|
|
Re: Dynamically loading a metamodel in EOL [message #1850889 is a reply to message #1850888] |
Mon, 21 March 2022 11:43 |
|
> Should I make a tool and escape to EMF for this case? It seems that there are EMC-EMF specific assumptions here.
getMetamodel() is meant to eventually support static analysis but it's not ready for use yet. Developing a custom tool sounds like a reasonable way forward.
Best,
Dimitris
|
|
|
Powered by
FUDForum. Page generated in 0.03236 seconds