Author Topic: How to show all implemented intefaces in header?  (Read 4935 times)

Stanislaw Tristan

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
How to show all implemented intefaces in header?
« on: August 07, 2014, 02:25:49 am »
If interface/class implements interfaces, I would like to show their names on the figure's header. It is possible to do this without automation, or, please, move this to corresponding forum and, please, provide an example

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #1 on: August 07, 2014, 03:39:47 am »
If your class has a Realize relation and the realized interface is not on the diagram then you will see it in italics top right of the class.

q.

Stanislaw Tristan

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #2 on: August 07, 2014, 07:12:34 am »
I have a 3 interfaces: Interface 2, Interface 3 and Interface 1 that has a realized connector to Interface 1 and Interface 2. When I remove the Interface 1 and Interface 2 from diagram (not from model - they both appears in the element browser) - the Interface 1 shows nothing about implements them
« Last Edit: August 07, 2014, 07:13:10 am by stristan »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #3 on: August 07, 2014, 08:09:33 am »
Hmm. My memory ... I have to look into that.

What you can do is Context/Features/Show...Interfaces

q.

P.S. Oh well. I was thinking about Generalize relations :-[ But see above
« Last Edit: August 07, 2014, 08:10:41 am by qwerty »

Stanislaw Tristan

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #4 on: August 07, 2014, 06:51:19 pm »
Any is proposed above is not working, so question is still open

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #5 on: August 07, 2014, 07:51:26 pm »
The above results in
to appear as
If you want some text you probably need a shape script with an add-in delivering the interface name.

q.

Stanislaw Tristan

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #6 on: August 07, 2014, 07:53:08 pm »
Thank you, I understand.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #7 on: August 08, 2014, 09:47:14 am »
Actually, I think you might want to check this:

http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/setelementparent.html

(Or look at the corresponding integrated Help in the version of EA you are using; the above link supports version 10.)

If you browse for the Parent element, set the Type field to Implements first; the browser actually creates the relationship, and it uses the current setting of the Type field.
Best Regards, Roy

Stanislaw Tristan

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to show all implemented intefaces in heade
« Reply #8 on: August 08, 2014, 06:17:59 pm »
Thanks!