Book a Demo

Author Topic: Selectively display package contents on diagram?  (Read 3947 times)

Gusztav

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • EA expert
    • View Profile
    • Imprestige. Your issues in safe hands.
Selectively display package contents on diagram?
« on: March 22, 2016, 08:58:25 pm »
Hi,

I have a couple of diagrams in a top package, which contains subpackages. I'd like to display the subpackages on the top package with their partial contents: say the subpackages contain items of type P and Q. I'd like items of type P to be shown and those of type Q to be hidden.

The rationale behind is that while P items are more or less standard UML elements such as use cases or requirements, Q items are UMLDiagram items representing diagram fragments displayed under elements of subpackages. It is very confusing that the package lists these diagram elements along with normal UML elements, especially because these diagrams actually appear one level down in the hierarchy (but they cannot be moved below the package level).
------------------------
Imprestige. Your issues in safe hands.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Selectively display package contents on diagram?
« Reply #1 on: March 23, 2016, 02:00:27 am »
Hi,

as far as I know you can only define visibility for packages on diagrams for package elements or subpackage by their visibility like:
- private
- public
- etc.

Select in diagram + Feature & Properties,...

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Gusztav

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • EA expert
    • View Profile
    • Imprestige. Your issues in safe hands.
Re: Selectively display package contents on diagram?
« Reply #2 on: March 23, 2016, 08:14:26 pm »
Thanks for the reply. I was afraid of having no different options. Per-visibility control were basically a great idea, however package elements don't have visibility attribute, you cannot set a UMLdiagram private, for example. :(
------------------------
Imprestige. Your issues in safe hands.