|
|
|
Re: Getting only applied comments [message #1746282 is a reply to message #1746268] |
Wed, 26 October 2016 12:23 |
Tristan Faure Messages: 460 Registered: July 2009 |
Senior Member |
|
|
Ok the difference in Papyrus is that "applied comment" references the element
the code to insert :
<fragment name='displayComments' importedBundles='commons;gmf;papyrus'><drop/>
<arg name='element' type='uml::Element'/><drop/>
[for (co:uml::Comment | element. ownedComment->select (c | c.annotatedElement->includes(element)) )]<drop/>
Description: <dropEmpty>[co._body.clean()/]</dropEmpty>
[/for]<drop/>
</fragment><drop/>
can you open a bug to create getAppliedComment in papyrus module to make query easier to write ?
[Updated on: Wed, 26 October 2016 12:24] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03161 seconds