Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: algarte on February 12, 2008, 08:02:50 am
-
I added a tagged value (not an attribute!) of type MyMemo (created in UML settings – Type=Memo;), in a profile´s stereotype. When I create an element based on this newly created stereotype (dragging from the Resources window to a diagram), the associated Tagged Value is NOT added to the element as well.
STEPS:
1 - Settings/UML.../Tagged Values Types
2 - New
3 - Tag Name: MyMemo
4 - Description: "My memo type"
5 - Detail: Type=Memo;
6 - Save / Close
-----
In Resources I’ve imported a UML Profile named Profiles_ASI. This profile contains a Stereotype, name Indicadores_ASI, that extends a Metaclass (element Class). Continue following the steps above:
1 - Click to select the profile’s stereotype "Indicadores_ASI"
2 - Click on menu Element/Add Tagged Value
3 - Tag: MyMemo
4 - OK
5 - Right click on the diagram and select "Save as profile..."
6 - Import de UML profile (I called Profiles_ASI) in Resources View.
7 - Create a new diagram
8 - Drag the stereotype Indicadores_ASI from Resources.
9 - THE PROBLEM: The tagged value MyMemo, created previously is not displayed!
Thanks.
-
Perhaps this relates to my earlier post here: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.pl?board=bugs;action=display;num=1202808631;start=1#1
Did that make a difference?
David
-
In the profile, define attributes, not tagged values (steps 2 and 3 in your second list). Look at this page in the help file: http://www.sparxsystems.com.au/EAUserGuide/definestereotypetags.htm
-
Thanks! The help topic is very clear. Problem solved!