Author Topic: Showing contained class objects  (Read 2532 times)

sl@sh

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
Showing contained class objects
« on: February 09, 2007, 07:06:00 am »
Hello,

While trying to create an overview I created a couple of structural diagrams showing the packages of the system, subsystems, and classes contained therein.

In one of the lower level packages, the sole contained class is shown like an attribute in the package image. I would very much like the other packages within the other diagrams to also show the classes they contain, but cannot find an option, either on the package itself or the diagram.

Where do I find this?

If you don't know what I mean, please check the diagram System Model -> Design Model -> Design Model within the EAExample project. All the packages show the classes contained within.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Showing contained class objects
« Reply #1 on: February 10, 2007, 09:22:03 pm »
Go to Diagram Properties - Visible Compartments and check
"Package contents".
Peter

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8064
  • Karma: +118/-20
    • View Profile
Re: Showing contained class objects
« Reply #2 on: February 11, 2007, 01:19:23 pm »
Also, once you have that enabled for your diagram there is a model option that allows for elements shown on diagrams in that package to be displayed.

Look at Tools | Options | Diagram | Behavior | Show Linked Items in Package.

sl@sh

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
Re: Showing contained class objects
« Reply #3 on: February 12, 2007, 06:11:25 am »
@peter: thanks for the help (must have been blind....)

@simonm: I did check this option. Unchecking or rechecking it doesn't appear to make a difference though. What should it do?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Showing contained class objects
« Reply #4 on: February 12, 2007, 12:27:20 pm »
You might have to reload the diagram or even the project. Try changing the setting, then exiting and restarting EA.

[EDIT: The above relates to Simon's suggestion.]
« Last Edit: February 12, 2007, 12:29:42 pm by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8064
  • Karma: +118/-20
    • View Profile
Re: Showing contained class objects
« Reply #5 on: February 12, 2007, 01:09:45 pm »
The option that I pointed out only has an effect when there is some package already diplaying the package contents.  It wasn't directly relevant to your problem, just a related point.