--- a/src/pyams_content/component/illustration/zmi/paragraph.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py Fri Mar 16 08:17:54 2018 +0100
@@ -17,7 +17,7 @@
# import interfaces
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, \
- IParagraphContainer, IParagraphPreview
+ IParagraphContainer, IParagraphRenderer
from pyams_content.component.illustration.interfaces import IIllustration, IIllustrationParagraph, \
ILLUSTRATION_PARAGRAPH_TYPE
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
@@ -33,7 +33,7 @@
from pyams_content.component.illustration.paragraph import Illustration
from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
BaseParagraphAddMenu, BaseParagraphPropertiesEditForm
-from pyams_content.features.renderer.zmi import BaseRenderedContentPreview
+from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
from pyams_pagelet.pagelet import pagelet_config
from pyams_utils.adapter import adapter_config
@@ -187,9 +187,9 @@
#
-# Illustration preview
+# Illustration renderer
#
-@adapter_config(context=(IIllustrationParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class IllustrationPreview(BaseRenderedContentPreview):
- """Illustration preview"""
+@adapter_config(context=(IIllustrationParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class IllustrationRenderer(BaseRenderedContentRenderer):
+ """Illustration renderer"""