Author Topic: Supress inherited attribute visibility  (Read 1736 times)

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Supress inherited attribute visibility
« on: May 04, 2017, 06:41:14 pm »
Hi,

I was wondering if it's possible to suppress the visibility of inherited attributes in a subclass, just like you would for its own attributes. In the feature and compartment visibility window the only thing you can do is check the box to show inherited attributes, but I don't see how you can set which inherited attributes to show and which not.

Any thoughts on this?

Much appreciated...
Rick

qwerty

  • EA Guru
  • *****
  • Posts: 10683
  • Karma: +235/-202
  • I'm no guru at all
    • View Profile
Re: Supress inherited attribute visibility
« Reply #1 on: May 04, 2017, 08:53:10 pm »
Feature request?

q.

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Supress inherited attribute visibility
« Reply #2 on: May 05, 2017, 01:06:17 am »
As in "No, that is not possible in the current version"?

qwerty

  • EA Guru
  • *****
  • Posts: 10683
  • Karma: +235/-202
  • I'm no guru at all
    • View Profile
Re: Supress inherited attribute visibility
« Reply #3 on: May 05, 2017, 05:04:47 am »
If you add AFAIK, yes ;-)

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1327
  • Karma: +97/-8
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Supress inherited attribute visibility
« Reply #4 on: May 05, 2017, 04:56:14 pm »
Yeah, I'm pretty sure that's not possible. The custom settings in the dialog only apply to the directly owned attributes/operations, and the "show inherited" setting selects all or nothing.

It might be possible to do something if you stereotype the classes and write your own shape script, but that'd probably be more effort than it's worth.

/Uffe
My theories are always correct, just apply them to the right reality.