Book a Demo

Author Topic: Hide private classes from logical diagram  (Read 2944 times)

bvaalst

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Hide private classes from logical diagram
« on: November 19, 2007, 06:44:02 am »
I can change a class-scope (public, private, protected, internal, protected internal). But how can I make sure my logical class diagram takes this scope into account and only shows me those classes that are marked as private?

I thought I found something like it, but this seems to only affect attributes (and stuff :))

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Hide private classes from logical diagram
« Reply #1 on: November 19, 2007, 07:01:26 am »
First, did you mean "only shows me those classes that are marked at public?"

I gather that what you are trying to do is selectively display elements - not attributes of elements - based on the visibility of each element.

If this is the case, my suggestion would be to only include elements with the correct visibility on the diagram in question. If you've already created the diagram, then you can simply delete unwanted elements from the diagram. Do not delete these elements from the project browser. Just select one of your private elements in your diagram and press the delete key. The element will be removed from that diagram (and only that diagram) but will remain in your model.

I do not know of any way to have EA go through diagrams and do this for you, but you could write a small add-in to help with this.

David
No, you can't have it!

bvaalst

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Hide private classes from logical diagram
« Reply #2 on: November 19, 2007, 07:04:25 am »
Yeah, that is in fact what I'm trying to do. :)
I know I can delete elements from the diagram, but since its a rather large diagram, I hoped there was a built-in way of doing this automatically. Thanks for the input though.

gfletcher

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Hide private classes from logical diagram
« Reply #3 on: November 30, 2007, 06:24:43 am »
I'm sorry I can't help with the original question, but I have a related one. Is there a way to exclude items from generated RTF documents based upon their scope?

Thanks
Gary