IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • No replies
94UX_Gencer_Erdogan
94UX_Gencer_Erdogan
1 Post

Pinned topic Is it possible to change the shape of a lifeline-head?

‏2014-03-11T16:51:47Z |

I am developing a UML Profile for annotating sequence diagrams with security risk information. Thanks to a detailed guideline on authoring profiles in IBM RSA ( http://www.ibm.com/developerworks/rational/library/08/0429_misic1/ ); I managed to implement my profile.

However, I have encountered a problem which I cannot find a solution to.

My question is simple. In my UML Profile, I have a stereotype called Threat. Stereotype Threat extends metaclass Lifeline. I have defined an Icon and a Shape Image for stereotype Threat. The Icon is a 16x16 png file. The Shape Image is a 50x50 png file. I used these dimensions as suggested by IBM: http://publib.boulder.ibm.com/infocenter/rsahelp/v7r0m0/index.jsp?topic=/com.ibm.xtools.profiles.doc/topics/tstereoicon.html .

When I apply stereotype Threat on a lifeline, I see that the small icon in the Project Explorer is changed to the icon I defined for Threat. However, inside the sequence diagram, the lifeline is still rectangular and the shape does not change to the Shape Image I defined for stereotype Threat.

Is it possible to change the shape of a lifeline-head using the Shape Image defined for a stereotype? If not, are there any suggestions for how I may do this?

I am using IBM RSA Version: 8.0.4.2 iFix1

Thank you very much in advance!

Updated on 2014-03-11T16:53:54Z at 2014-03-11T16:53:54Z by 94UX_Gencer_Erdogan