Book a Demo

Author Topic: Limit the operations for a class in a diagram  (Read 4011 times)

Javier

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
  • Necessity is the mother of email
    • View Profile
Limit the operations for a class in a diagram
« on: July 11, 2003, 03:45:52 pm »
I cannot seem to find a way to limit the number of operations a class displays in a class diagram.

Can it be done?

Regards,

Javier
We must become the change we want to see.
- Ghandi

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Limit the operations for a class in a diagram
« Reply #1 on: July 14, 2003, 03:07:39 am »
I know of 2 ways to hide class operations in a class diagram:

1. In the diagram properties (double-click the diagram background) choose "Visible Class Members": "Public", "Protected", "Private", "Package". This way you can choose to only show public operations, for example. These settings apply to all classes on the diagram.
2. Right-click the class and select "Set feature visibility", where you will get some options similar to the above, but for the selected class only.

I don't know if this is what you are looking for.

Mikkel

Javier

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
  • Necessity is the mother of email
    • View Profile
Re: Limit the operations for a class in a diagram
« Reply #2 on: July 14, 2003, 08:34:28 am »
I had noticed the options you just posted, and no, it is not what I'm looking for.

Although such options would allow me to view some methods and/or attributes, I would still be limited to view them by their visibility scope: public, private, protected, etc.

What I'm looking for is to define a view of a class per diagram.  This allows me to display the pertinent methods and attributes to a developer for a particular task, regardless of their scope.

This capability is available in Rational Rose and I find it very useful--and make great use of it too.  It seems that the underlying model for EA could support it too.  I'll suggest it as a feature if there are no other posts to answer this questions.

Regards,

Javier
We must become the change we want to see.
- Ghandi