Book a Demo

Author Topic: hide stereotype for dependency (UML Profile)  (Read 4067 times)

harvinder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
hide stereotype for dependency (UML Profile)
« on: May 02, 2011, 04:56:33 pm »
Hello,

I have created a UML profile in which I have Flow Class (Stereotype) derived from Dependency (MetaClass).

I have trying to customize the look of the "Flow" through shape script, however I am not been able to get rid of the stereotype label <<flow>> in my diagram.

Cheers
harvinder

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: hide stereotype for dependency (UML Profile)
« Reply #1 on: May 03, 2011, 08:13:26 am »
Add the following to your shape script.

Code: [Select]
shape middlebottomlabel
{
}

harvinder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: hide stereotype for dependency (UML Profile)
« Reply #2 on: May 03, 2011, 11:29:47 am »
Thanks, it worked.

I was wondering if there is a way to hide stereotype in decision derived stereotypes too.

I have "Choose" Stereoptype extended from Decision metaclass in my UML profile. I always see "Choose" floating over the shape.

thanks
harvinder

harvinder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: hide stereotype for dependency (UML Profile)
« Reply #3 on: May 05, 2011, 12:28:20 pm »
I finally found it

add following after the main shape
Code: [Select]
shape label
{
}
« Last Edit: May 05, 2011, 12:30:16 pm by harvinder »