source: waeup/branches/ulif-namespace/src/sirp/__init__.py @ 4791

Last change on this file since 4791 was 4789, checked in by uli, 15 years ago

Merge changes from ulif-layout back into trunk (finally).

  • Property svn:eol-style set to native
File size: 445 bytes
Line 
1import grok
2from waeup.interfaces import IWAeUPObject
3from zope.annotation.attribute import AttributeAnnotations
4from zope.annotation.interfaces import IAnnotations
5
6class WAeUPAttributeAnnotations(AttributeAnnotations, grok.Adapter):
7    """An adapter to IAnnotations for any WAeUPObject.
8
9    Providing this adapter, each WAeUP object becomes (attribute)
10    annotatable.
11    """
12    grok.provides(IAnnotations)
13    grok.context(IWAeUPObject)
Note: See TracBrowser for help on using the repository browser.