source: main/waeup.ikoba/trunk/src/waeup/ikoba/__init__.py @ 17935

Last change on this file since 17935 was 11949, checked in by Henrik Bettermann, 10 years ago

Change of name.

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