Book a Demo

Author Topic: Hide operations by name  (Read 3566 times)

cnahr

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Hide operations by name
« on: April 07, 2005, 01:10:15 am »
I'm using EA as a documentation tool. I'm creating UML diagrams from reverse-engineered C# source code.

Now I often have to hide operations that I don't want to show up in a specific diagram. As far as I can tell, EA offers two ways to automate operation visibility in a diagram: by code visibility (public, private, ...) or by stereotypes.

Code visibility is way too coarse for me, so I'm using custom "pseudo-stereotypes" to hide the operations that I don't want to show up.

However, EA drops any stereotypes I've added when the same code is reverse-engineered the next time. So I have to go through all my classes and re-apply those stereotypes, which is quite a tedious job!

Is there any way to provide EA with a list of names of class operations that should be hidden in a specific diagram, perhaps even with wildcards? Or is there a way to somehow embed my pseudo-stereotypes in the code?

If there isn't I'd like to supply such a feature (either or both of the two ideas) as an enhancement request. It would greatly simplify reverse engineering for me. Thanks!

thomaskilian

  • Guest
Re: Hide operations by name
« Reply #1 on: April 07, 2005, 01:53:26 am »

cnahr

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Hide operations by name
« Reply #2 on: April 07, 2005, 03:21:31 am »
Thanks for the link, I didn't think to look in the General board...  :-[

So there's currently no way to persist custom stereotypes in code.  Like the other poster I'd definitely welcome some kind of "magic comments" or the like to make this possible, although personally I'd be just as happy if I could simply provide a list of "don't show" names to EA.