Author Topic: Stereotype Icons  (Read 2986 times)

Jules Clements

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Stereotype Icons
« on: March 10, 2013, 04:21:42 pm »
In the Sample models there are components what have stereotypes that include indicative icons (a workstation, a web page, etc), how do you define these for yourself for use in your own models.

They must be a customization of the examples as the underlying stereotypes are not available in normal models.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Stereotype Icons
« Reply #1 on: March 11, 2013, 12:30:45 am »
Search the help for "shape script". There are also examples that should give you a start.

q.

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: Stereotype Icons
« Reply #2 on: March 11, 2013, 07:55:15 am »
Extending a bit on that: apart from the shape in a diagram you can also alter the icon of the stereotype in the toolbox & project browser  by defining the 'icon' attribute for a stereotype.

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Stereotype Icons
« Reply #3 on: March 11, 2013, 05:53:23 pm »
Hi Paulus,

this information is new to me. COuld you give me some reference in the manual or a more detailed description?

I looked for this option for a very long time 8-) 8-)

Regards

Stefan
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: Stereotype Icons
« Reply #4 on: March 12, 2013, 04:07:12 am »
Search in the help file on 'Special Attributes' and open the first entry.
The icon attribute is described there.

It mentions that the icon is used in the project browser but if memory serves me right it is also used for the toolbox. Let me know if you run into trouble => then i'll look a bit further into the profile definition i created earlier.

regards,

Paulus

« Last Edit: March 12, 2013, 04:08:28 am by pmaessen »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Stereotype Icons
« Reply #5 on: March 12, 2013, 06:06:35 am »
Just to be clear: this only works for MDG created stereotypes, not via the Settings/UML Types... menu.

q.