|
Re: Comment Elements, Applied comments, and Owned comments [message #1696450 is a reply to message #1696426] |
Tue, 26 May 2015 10:22   |
Eclipse User |
|
|
|
Hi,
The "ownedComment" is a containment relationship between the owner and the comment. It has little semantics value. The "Applied Comments" is the list of comments annotating the current element (It is the opposite of the Comment#annotatedElement relationship).
In Papyrus, when you add an "Applied Comment", it is also added (Under the hood) to "Owned Comments", but we don't display it in the properties view because it would be mostly redundant.
When you create a Comment in a Class Diagram (on the canvas), it is added to the Diagram's Context "Owned Comments". Then, when you create a Comment Link between this comment and a Class, it is added to the "Applied Comments" of the Class
HTH,
Camille
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05371 seconds