Question

I have a UML activity with OpaqueActions containing a DSL. The DSL grammar is expressed by means of XText thus there is an EMF ECORE model and editor for it. I have an ACCELEO M2T transformation transforming UML activities in text and I'd like to trigger (from such transformation) another transformation (from the DSL meta-model to text) providing as input the DSL containing in the opaque actions of the activity. Is there any way to easily do that?

Était-ce utile?

La solution

You can create two generators, one for your UML transformation and the second one for your DSL and call the first one from the second one once you encounter your DSL elements while navigating in your UML model.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top