Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mrblack12 on May 04, 2017, 06:41:14 pm

Title: Supress inherited attribute visibility
Post by: mrblack12 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
Title: Re: Supress inherited attribute visibility
Post by: qwerty on May 04, 2017, 08:53:10 pm
Feature request?

q.
Title: Re: Supress inherited attribute visibility
Post by: mrblack12 on May 05, 2017, 01:06:17 am
As in "No, that is not possible in the current version"?
Title: Re: Supress inherited attribute visibility
Post by: qwerty on May 05, 2017, 05:04:47 am
If you add AFAIK, yes ;-)

q.
Title: Re: Supress inherited attribute visibility
Post by: Uffe 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