Book a Demo

Author Topic: How do I disable parent class name preceding the child class  (Read 3799 times)

SJ

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
I am dragging a class in the parent class. The child class name  is being preceded by the parent name by default in the diagram. Can someone point me the option I need to use  in order to have only child class name in the child class  ? I have checked the properties, attributes etc and cannot seem to find it .It is being printed as parent classname :: child class name

Thanks in advance

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How do I disable parent class name preceding the child class
« Reply #1 on: May 11, 2019, 03:25:49 am »
Look into the diagram properties.
It's one of these checkboxes that controls this behavior.

Geert

SJ

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: How do I disable parent class name preceding the child class
« Reply #2 on: May 11, 2019, 03:57:20 am »
Geert,
Thanks for your reply. I have looked for this field by selecting parent and the child class however  cannot find that field to check (or uncheck). Can you please be specific

Thanks
SJ

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How do I disable parent class name preceding the child class
« Reply #3 on: May 11, 2019, 08:09:19 am »
I don't think there is any option for that. It's easy to get lost in EA's option jungles...

q.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: How do I disable parent class name preceding the child class
« Reply #4 on: May 13, 2019, 07:08:59 am »
If I understand your scenario properly, the work around is to give the child class an alias and turn on use aliases.

SJ

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: How do I disable parent class name preceding the child class
« Reply #5 on: May 15, 2019, 02:07:59 am »
Thanks for your suggestion. However, in my environment, we can not alias  class hierarchy and  application components etc. This result is that  the hierarchical names followed by '::' quite long and spill out of the component diagram. The issue is that we have little real estate on the diagram.
« Last Edit: May 15, 2019, 02:09:57 am by SJ »