equal
deleted
inserted
replaced
14 |
14 |
15 |
15 |
16 # import standard library |
16 # import standard library |
17 |
17 |
18 # import interfaces |
18 # import interfaces |
|
19 from pyams_content.features.renderer import IRenderedContent |
19 from zope.annotation.interfaces import IAttributeAnnotatable |
20 from zope.annotation.interfaces import IAttributeAnnotatable |
20 from zope.container.interfaces import IOrderedContainer |
21 from zope.container.interfaces import IOrderedContainer |
21 from zope.contentprovider.interfaces import IContentProvider |
22 from zope.contentprovider.interfaces import IContentProvider |
22 |
23 |
23 # import packages |
24 # import packages |
30 |
31 |
31 |
32 |
32 PARAGRAPH_CONTAINER_KEY = 'pyams_content.paragraph' |
33 PARAGRAPH_CONTAINER_KEY = 'pyams_content.paragraph' |
33 |
34 |
34 |
35 |
35 class IBaseParagraph(IAttributeAnnotatable): |
36 class IBaseParagraph(IRenderedContent, IAttributeAnnotatable): |
36 """Base paragraph interface""" |
37 """Base paragraph interface""" |
37 |
38 |
38 containers('.IParagraphContainer') |
39 containers('.IParagraphContainer') |
39 |
40 |
40 icon_class = Attribute("Icon class in paragraphs list") |
41 icon_class = Attribute("Icon class in paragraphs list") |