![]() |
Telelogic TAU (steve huntington) | ![]() |
profile :
search :
help :
dashboard :
calendar :
home
|
||
|
Topic Title: Applying stereotypes Topic Summary: Nothing but predefined stereotypes are visible after clicking "Stereotypes" button Created On: 25-May-2007 19:17 Status: Read Only
|
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I encountered a problem with stereotypes. I defined a profile with number of stereotypes and defined extensions to metaclasses. The profile was deployed using the way described in the Documentation. And it is visible in Library section. However when I want to apply a stereotype to model element the only visible stereotypes in "Stereotypes" dialog are those predefined. What is more interesting, when a stereotype has a tag and I set a value of this tag in properties editor of a model element, the stereotype is being applied (in the Model View, Applied Stereotypes section appears).
In result I can only apply stereotypes with this workaround and only those which have tags defined.
Is it normal? How can I choose stereotypes to apply with "Stereotypes" dialog?
|
|
![]() |
|
![]() |
|
Hi Robert,
Is this for UML Suite or for Tau? If it is Tau this is the wrong forum. If you can send me your profile I will take a look and maybe can help you. Make sure the package in your profile has <<profile>> applied. When you created the <<extends>> relation, did you use "0..1" or "1" as the cardinality? If you use "1" then it will not appear in the Stereotypes list because it is always available all of the time (mandatory). The actual instance of the stereotype will not be created (and therefore visible in the Model View) until you add tagged value data to it to save space. Using "0..1" makes it "optional" and that makes it appear in the Stereotypes pop-up. Greg ------------------------- Greg Gorman Vice President, Product Management Modeling and Test Products Telelogic AB |
|
![]() |
|
![]() |
|
The trick with cardinality works! I have made extensions optional and they show up in Stereotypes dialog.
Thanks a lot.
Robert
|
|
![]() |
Telelogic TAU
» UML Suite
»
Applying stereotypes
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.