[Zope] Property sheet inheritance for Z Classes
Alexander Staubo
alex@mop.no
Mon, 14 Jun 1999 05:03:34 +0200
Possible suggestion for improvement:
When creating Z Classes that use inheritance, sometimes you'd just like
to extend a property sheet from the base class(es), rather than
implementing a lowest-common-denominator sheet at the base-class level.
Is there a way of doing selective or accumulated inheritance on property
sheets, or can it be implemented?
For example, a descendant class might to inherit properties "title" and
"author", hide the inherited property "keywords", add add the property
"subject".
Visibility modification might not be easily doable or even desirable
(haven't thought that one through yet), but the lack of inheritance
seems like a serious omission to me. Right now, if I want to specialize
a Z class by adding just a single property to a descendant, I must
create a new property sheet and add it as a view.
--
Alexander Staubo http://www.mop.no/~alex/
"What the hell, he thought, you're only young once, and threw
himself out of the window. That would at least keep the element of
surprise on his side."
--Douglas Adams, _The Hitchhiker's Guide to the Galaxy_