Book a Demo

Author Topic: Hide :parent_name for instance element  (Read 8256 times)

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
Hide :parent_name for instance element
« on: August 23, 2023, 07:15:27 pm »
Hi,

I have an Actor (Developer). When I create an instance of this actor, it is displayed as :Developer..
Who can I hide ":Developer"?

I removed the check "Show Additional Parent" but still the parent is displayed.
I have checked "Disable fully scoped object names" but still the parent is displayed.

Thanks
« Last Edit: August 23, 2023, 07:17:43 pm by ea0921 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hide :parent_name for instance element
« Reply #1 on: August 23, 2023, 07:20:48 pm »
Why would you want to hide the classifier of an actor instance?
And why would you want to make an actor instance anyway?

It's not a child/parent relation, it's instance/classifier.

Geert

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
Re: Hide :parent_name for instance element
« Reply #2 on: August 23, 2023, 07:24:37 pm »
I want to hide the classifier because for some internal users it is irrelevant and makes the diagram unreadable.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hide :parent_name for instance element
« Reply #3 on: August 23, 2023, 08:32:00 pm »
I want to hide the classifier because for some internal users it is irrelevant and makes the diagram unreadable.
And why are you using an instance of an actor?

Geert

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
Re: Hide :parent_name for instance element
« Reply #4 on: August 23, 2023, 10:07:47 pm »
Because I want to have multiple developer instances in a diagram and give each instance the name of the developer. For some users it will be interesting to read that Mr. X is of type developer, other users want only read Mr. X.
Anyway, the tool allows me to create an instance of an actor, so I think it is possible to use this feature. However, what I would like is to hide the parent_name. Is it possible?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hide :parent_name for instance element
« Reply #5 on: August 23, 2023, 11:14:41 pm »
Is it possible?
I don't think so.

Geert

PS. EA allows to do almost anything. That should not be taken as an indicator that it's a good idea though.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hide :parent_name for instance element
« Reply #6 on: August 24, 2023, 12:20:17 am »
Stereotype it and write a shape script.

q.

BobM

  • EA User
  • **
  • Posts: 144
  • Karma: +9/-0
    • View Profile
Re: Hide :parent_name for instance element
« Reply #7 on: August 24, 2023, 04:39:02 pm »
This was bugged a while back and we had to to a workaround to enable the :#classifier#

Release Notes for Enterprise Architect v16.1 (Build 1623)
  • Correct display of classifier name when Use Alias if Available option is used

The same workaround we used to enable it is the same way you can use to hide it
Enable "use Alias if Available" on the diagram properties
Then fill in the alias of the elements you use as an instance classifier with a "spacebar", we had to fill in the Alias as it appeared as blank (alias wasn't available for classifiers but it still used its entry)
« Last Edit: August 24, 2023, 05:28:24 pm by BobM »