Book a Demo

Author Topic: Displaying the contents of a componet  (Read 2902 times)

realien

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Displaying the contents of a componet
« on: November 06, 2009, 09:32:12 am »
Hi Guys,

I've created a component diagram which shows the classes that make up my component (inside the component).



but when I drop the component on another diagram it doesn't show whats "inside".



I want to create another diagram that shows "whats inside" the component so I can explain what each class does.

How do I get another diagram to show the component and show whats "inside" it ?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Displaying the contents of a componet
« Reply #1 on: November 06, 2009, 05:57:50 pm »
I guess you'll need the copy the component and all the classes inside (from the diagram), and paste that onto a new diagram.
I don't believe there is something automagical that does that for you.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Displaying the contents of a component
« Reply #2 on: November 06, 2009, 07:28:45 pm »
Quote
I guess you'll need the copy the component and all the classes inside (from the diagram), and paste that onto a new diagram.
I don't believe there is something automagically that does that for you.

Geert
Geert is correct...

But why does this problem come about?  Well, it's because when we humans do certain visual things in diagrams (or move things inthe browser), we are also making assertions about the model:  In this case the outer component "contains" (is a holonym of) the inner components.  The modelling tool should therefore, create the appropriate relationships within the model.

Many modelling tools (such as the "Lithuanian Tool") will automagically maintain the nesting connector rendering when you drag nested object from the browser.  EA doesn't.  There are a number of places within EA where it maintains relationships between items within the model, but doesn't provide the appropriate rendering when they are placed on diagrams.

HTH,
Paolo
« Last Edit: November 06, 2009, 07:29:19 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!