Changeset 7819 for main/waeup.kofa/trunk/src/waeup/kofa/__init__.py
- Timestamp:
- 8 Mar 2012, 22:28:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/__init__.py
r7811 r7819 1 1 import grok 2 from waeup.kofa.interfaces import IK OFAObject2 from waeup.kofa.interfaces import IKofaObject 3 3 from zope.annotation.attribute import AttributeAnnotations 4 4 from zope.annotation.interfaces import IAnnotations 5 5 6 class K OFAAttributeAnnotations(AttributeAnnotations, grok.Adapter):7 """An adapter to IAnnotations for any K OFAObject.6 class KofaAttributeAnnotations(AttributeAnnotations, grok.Adapter): 7 """An adapter to IAnnotations for any KofaObject. 8 8 9 Providing this adapter, each K OFAobject becomes (attribute)9 Providing this adapter, each Kofa object becomes (attribute) 10 10 annotatable. 11 11 """ 12 12 grok.provides(IAnnotations) 13 grok.context(IK OFAObject)13 grok.context(IKofaObject)
Note: See TracChangeset for help on using the changeset viewer.