Book a Demo

Author Topic: Suggestion: Show/Hide based on Stereotype  (Read 5905 times)

yee

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Suggestion: Show/Hide based on Stereotype
« on: January 28, 2008, 06:16:05 pm »
Hi,

I like to suggest having the capability to show/hide attributes/operations based on stereotype.

Reasons:
1) In domain classes - many attributes are mapped to table columns, but some are for supporting operations in the view tier. It would be nice to tag the attributes with the appropriate stereotype and show/hide them selectively.

2) Many operations are getters/setters (especially in Java). It would be nice to tag the few biz operatons with the <Biz Method> stereotype and hide the rest.

This is my second day evaluating EA. So far I am very impressed  :)

Regards,
Yee
« Last Edit: January 28, 2008, 06:16:33 pm by yee »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Suggestion: Show/Hide based on Stereotype
« Reply #1 on: January 28, 2008, 08:01:21 pm »
It's already there - use [CTRL+SHIFT+Y]

Set Feature Visibility

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

yee

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Suggestion: Show/Hide based on Stereotype
« Reply #2 on: January 29, 2008, 06:01:48 am »
That's really nice. Thanks.

Another nice to have - to pre-tag the getters and setters. They are real pain in the ****. They clutter the source code, as well as the model.

Cheers,
Yee

« Last Edit: January 29, 2008, 06:03:13 am by yee »