Author Topic: Show inherited connectors between classes  (Read 2892 times)

f

  • EA Novice
  • *
  • Posts: 11
  • Karma: +1/-0
    • View Profile
Show inherited connectors between classes
« on: March 27, 2019, 07:01:31 pm »
One C++ class has a <<uses>> connector to another C++ class indirectly, because its base class has a base class pointer to an object of the other C++ class.

For simplicity, I want to show that usage connection in my diagram without showing the base classes.

How do I do that?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9498
  • Karma: +266/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Show inherited connectors between classes
« Reply #1 on: March 27, 2019, 07:12:12 pm »
You can't.
The only thing you can do is create a new relation. You can set it to be derived to indicate that it is not a "real" connector.
Setting a relation derived will add a "/" in front of it's name in the diagram.

Geert

steen.jensen

  • EA User
  • **
  • Posts: 88
  • Karma: +2/-1
    • View Profile
Re: Show inherited connectors between classes
« Reply #2 on: March 28, 2019, 09:10:19 am »
Hmm, How do set a connection to be Derived??

Richard Freggi

  • EA User
  • **
  • Posts: 174
  • Karma: +7/-4
    • View Profile
Re: Show inherited connectors between classes
« Reply #3 on: March 28, 2019, 02:00:22 pm »
Hmmmm Hmmm, what's a connector between classes?  If we are talking about an association - I am under the impression that the UML tool should not recreate the parent association for all its children - for example of the parent is removed from the diagram the association should disappear from the diagram too.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9498
  • Karma: +266/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Show inherited connectors between classes
« Reply #4 on: March 28, 2019, 03:26:05 pm »
Hmm, How do set a connection to be Derived??
Thats a good question. I don't see the option anymore in v14.1 ???

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1239
  • Karma: +13/-4
  • Read The Help!
    • View Profile
Re: Show inherited connectors between classes
« Reply #5 on: March 28, 2019, 04:59:35 pm »
In the Connector's Properties dialog, look in the Advanced tag for the isDerived property.  But more obviously in the Properties window for the connector there are Derived properties for the connector and for the source and target roles; expand the Advanced segment.
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6857
  • Karma: +144/-104
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Show inherited connectors between classes
« Reply #6 on: March 28, 2019, 05:03:01 pm »
In the Connector's Properties dialog, look in the Advanced tag for the isDerived property.  But more obviously in the Properties window for the connector, there are Derived properties for the connector and for the source and target roles; expand the Advanced segment.
Hi Roy,

This used to be true only for Associations.  Is that still the case or has it been more generalized?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9498
  • Karma: +266/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Show inherited connectors between classes
« Reply #7 on: March 28, 2019, 05:48:16 pm »
I see it now in the popup dialog, but still not in the docked properties window.
There is no Advanced section there.

Yes, it seems to only be present for Associations.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6830
  • Karma: +65/-7
    • View Profile
Re: Show inherited connectors between classes
« Reply #8 on: March 29, 2019, 09:20:09 am »
UML defines the property isDerived for Associations.

Although I don't object to misusing things to meet you needs, I should at least point that that the usage discussed in this thread is a misuse.

Eve

support@sparxsystems.com