Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Mats Gejnevall on March 30, 2017, 12:26:33 am
-
I have created a MDG with a number of stereotyped elements, most of them are based on Class. When I drag and drop them from the toolbox, they are are given the name Class + a number. I assume there is a way of configuring the sterotype to use the name of it instead of the UML metaclass. But I have not been able to find it.
Can someone give me a hit (or a link to where this is described)?
Thanks
Mats
-
Yes you can. Give the stereotype a _metatype attribute with initial value set to the name of the stereotype.
-
This helped with another issues as well! Now we can find all our stereotyped elements in the Relationship matrix as well. And when using _metatype on our relations/connections they also show up in the Relationship matrix!!! :D :D :D :D :D