Book a Demo

Author Topic: Hide stereotype notation  (Read 6375 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Hide stereotype notation
« on: March 25, 2017, 01:44:29 am »
When you create an mdg with uml profiles, and you don't use shapescripts, how can you prevent that the stereotype appears on your diagram?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hide stereotype notation
« Reply #1 on: March 25, 2017, 03:04:14 am »
The only way (I know) would be to change the diagram properties and uncheck Element/Stereotype. But that hides all stereotypes.

q.

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Hide stereotype notation
« Reply #2 on: March 31, 2017, 07:40:42 pm »
I added the string attribute pdata with default value HideEStereo=1;HideStereo=1; to my diagram metaclass, it works for the elements, no stereotype is visible. But for the attributes the stereotype still appears.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hide stereotype notation
« Reply #3 on: March 31, 2017, 08:24:35 pm »
Just go on to the Features tab of the diagram properties and uncheck Show Stereotypes.

q.