Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Stanislaw Tristan on August 07, 2014, 02:25:49 am

Title: How to show all implemented intefaces in header?
Post by: Stanislaw Tristan 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
Title: Re: How to show all implemented intefaces in heade
Post by: qwerty 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.
Title: Re: How to show all implemented intefaces in heade
Post by: Stanislaw Tristan 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
Title: Re: How to show all implemented intefaces in heade
Post by: qwerty 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
Title: Re: How to show all implemented intefaces in heade
Post by: Stanislaw Tristan on August 07, 2014, 06:51:19 pm
Any is proposed above is not working, so question is still open
Title: Re: How to show all implemented intefaces in heade
Post by: qwerty on August 07, 2014, 07:51:26 pm
The above results in
(https://dl.dropboxusercontent.com/u/66691423/pic%202014-08-06%20um%2023.32.33.PNG) to appear as (https://dl.dropboxusercontent.com/u/66691423/pic%202014-08-07%20um%2011.48.00.PNG)
If you want some text you probably need a shape script with an add-in delivering the interface name.

q.
Title: Re: How to show all implemented intefaces in heade
Post by: Stanislaw Tristan on August 07, 2014, 07:53:08 pm
Thank you, I understand.
Title: Re: How to show all implemented intefaces in heade
Post by: RoyC 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.
Title: Re: How to show all implemented intefaces in heade
Post by: Stanislaw Tristan on August 08, 2014, 06:17:59 pm
Thanks!