Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
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
Topic Rating:  Terrible (1 ratings have been cast)
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 25-May-2007 19:17
User is offline View Users Profile Print this message


Robert Gruszka

Posts: 2
Joined: 23-May-2007

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?
Report this to a Moderator Report this to a Moderator
 25-May-2007 19:36
User is offline View Users Profile Print this message


Greg Gorman

Posts: 75
Joined: 4-Oct-2002

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
Report this to a Moderator Report this to a Moderator
 26-May-2007 00:01
User is offline View Users Profile Print this message


Robert Gruszka

Posts: 2
Joined: 23-May-2007

The trick with cardinality works! I have made extensions optional and they show up in Stereotypes dialog. Thanks a lot. Robert
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 1 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.