Book a Demo

Author Topic: not showing classifier name of ports at instances  (Read 11691 times)

Squeegee

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
not showing classifier name of ports at instances
« on: October 17, 2018, 12:54:59 am »
Hi Forum,
If I put an instance of a class with ports into a diagram, the name of the ports look like follows:

nameOfPortAtInstance/NameOfPortAtClassifier

In some diagrams I would like to suppress "NameOfPortAtClassifier" as this information is not needed and the diagram looks a bit "overloaded".
Is there any possibility to achieve this?

Thanks for your answers..

Uwe

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #1 on: October 17, 2018, 01:31:54 am »
Right click on the label and choose Hide from the menu?

q.

Squeegee

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #2 on: October 17, 2018, 04:40:52 pm »
Hi qwerty,
I do not want to hide the whole label, just the "NameOfPortAtClassifier", which is only a part of the label.
So something like switching on and off showing the stereotypes of elements which is possible in the diagram options, tab elements, "show element stereotype".

Regards,
Uwe

Arshad

  • EA User
  • **
  • Posts: 291
  • Karma: +21/-1
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #3 on: October 17, 2018, 05:09:09 pm »
Hi

Navigate to Diagram Properties -> Element Tab -> uncheck Show Port Classifier in Element Appearance.




This will hide the "NameOfPortAtClassifier".



HTH
Arshad
« Last Edit: October 17, 2018, 05:11:08 pm by Arshad »

Squeegee

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #4 on: October 17, 2018, 07:02:42 pm »
Hi Arshad,
seems to be exactly what I was searching for but doesn't exist in EA 12 >:(
So we have to wait for a newer EA version to be used in my company...

I assume there is no other possibility via scripting or something else??

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #5 on: October 17, 2018, 08:42:41 pm »
No way. They introduced a new property for diagrams m_bElementClassifier=0/1 in V14.

q.

Arshad

  • EA User
  • **
  • Posts: 291
  • Karma: +21/-1
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #6 on: October 17, 2018, 09:05:00 pm »
Its introduced in v13.5 .


DominikS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #7 on: September 08, 2021, 08:08:12 pm »
Hi,

do you know if there is a similar feature for Action Pins?
Would be useful :).

DS

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #8 on: September 08, 2021, 08:45:12 pm »
Don't think so. You can only show/hide the whole label. Alternatively you could stereotype pins. But we noticed that when you instatiate activities the pins created from the activity parameters get stripped of any stereotype. That could be fixed only with an add-in but my customer does not allow the use of add-ins (or makes it utterly complicated to get them approved  and signed off).

q.

DominikS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: not showing classifier name of ports at instances
« Reply #9 on: September 09, 2021, 05:25:20 am »
Thank you.