Enterprise Architect: Hide only some Foreign Key Labels to all connectors at once

1k Views Asked by At

I am using Enterprise Architect 9 and I want do hide some Foreign Key Labels in all connectors, but not all.

I'm using Associate connector often, and when I set foreign keys, it shows some labels I do not want to see. I want to show numbers (Source and Target Bottom labels, but not Top) and Middle Bottom labels only.

I know I can right-click on it and select "Visibility"->"Set Label Visibility", and disable all I do not want, but I need to do it on each connector and I want to hide it by default for all other connectors too.

I know I can right-click on the diagram, select "Properties"->"Connectors" Tab and check the option "Suppress All Connector Labels". But it disables me all labels, what I do not want.

Is there some way to set which labels to show by default to all connectors at once?

Thanks for answers

P.S. I know, there is already a similar problem, but my problem is a little bit different, and that answer was not enough

1

There are 1 best solutions below

1
On

I've managed it using a shape script linked to the <<FK>> sterotype for the base class association in the Project->Settings->UML Types screen.

If you have a shape script like this:

shape LeftTopLabel { }

shape RightTopLabel { }

shape MiddleBottomLabel { }

then the label types you've overridden with an empty script will disappear, and the rest will remain.

Note that this will affect all diagrams in your project.