Book a Demo

Author Topic: hierarchical components  (Read 14486 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
hierarchical components
« on: December 21, 2010, 09:26:24 pm »
Dear EA Professionals,

what is the best way to level a Deployment and-or Component model?

more detail:

I failed to associate a component diagram with a component in a deployment or component diagram that opens e.g. by ctrl-k.

I managed to do this using a packaging component. However, than I failed to add an interface as an embedded element.

thank you for your kind help  :)
« Last Edit: December 21, 2010, 09:30:23 pm by ngong »
Rolf

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: hierarchical components
« Reply #1 on: December 21, 2010, 10:56:30 pm »
My solution for now is: Do not use interfaces directly to explain what a component or a packaging component provides. Define the interface as a "global" connection - independent from anything - that is not directly provided by a component or a packaging component but through a port.

The only question left here is: why does the port belongs to a component but not to a packaging component if dropped there?

Any comment welcome  :)
« Last Edit: December 21, 2010, 11:02:24 pm by ngong »
Rolf

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: hierarchical components
« Reply #2 on: December 22, 2010, 08:48:54 am »
Quote
I failed to associate a component diagram with a component in a deployment or component diagram that opens e.g. by ctrl-k.
Right-click > Advanced > Make Composite.
The Sparx Team
[email protected]

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: hierarchical components
« Reply #3 on: December 23, 2010, 02:47:25 am »
much better, thank you
Rolf