Book a Demo

Author Topic: Custom feature suppression - specialization  (Read 3065 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Custom feature suppression - specialization
« on: March 19, 2012, 09:55:14 pm »
I have a class that overloads an attribute.  EA shows both in the specialized class.  So I thought: I'll use custom attribute visibility to suppress the overloaded attribute (since EA doesn't do it).

I opened the Custom attribute dialog to find it only handled the local attributes.  Not surprising, of course, since the custom button is ONLY available on the local section of the dialog.

So, I thought, I'll suppress the attribute in the base class (not the best solution, but it would do for now).  The attribute was suppressed in the base, but not in the derived class.  So, possibly, the worst of both worlds.

It seems to me that both sets of attributes should be treated equally - since we are not in "Animal Farm".

Both inherited and local features should be suppressible/non-suppressible. The suppression state of a feature should be inherited until overridden lower down the specialization chain.

Thoughts?
Paolo
[size=0]©2012 Paolo Cantoni, Semantica[/size]
« Last Edit: March 19, 2012, 09:57:54 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!