|
Re: Using profiles as Metamodels in ATL EMFTVM [message #1798450 is a reply to message #1795840] |
Mon, 19 November 2018 10:50 |
|
It is technically possible to load the internal Ecore representation of a UML Profile as a metamodel, but this is not recommended.
Even though UML2 converts Profiles to an Ecore representation whenever you click "Define Profile", this Ecore representation is not public API, and tends to change with newer releases. Also, as you define multiple versions of the Profile, multiple Ecore representations will be embedded within the Profile, and causes confusion within ATL.
The only stable way to interact with UML Profiles is via the UML2 API (e.g. "getAppliedStereotypes()", etc.).
Cheers,
Dennis
|
|
|
Powered by
FUDForum. Page generated in 0.01911 seconds