|Re: [Acceleo] How to grab Comments from a class [message #857815 is a reply to message #857548]
||Thu, 26 April 2012 18:04
| Alain Lavoie
Registered: April 2012
I am using Papyrus.|
Even though the diagram shows a link between a Class
and a Comment, it is not always registered in the
UML Model as is.
To correct (fix) the problem, select the Class (in this case)
Go to Properties > Advanced > Owned Comment,
edit the value and add the "Owned Comment" in the current list.
In fact, in the UML meta model, a comment is created and owned
by one Element:Class, but can be referred by other Elements (like Class).
This fix the internal model.
Following this fix, the M2T Acceleo react correctly as expected.
Powered by FUDForum
. Page generated in 0.01394 seconds