src/pyams_content/component/paragraph/zmi/frame.py
changeset 487 093f201e3168
parent 449 3b5cf400af18
child 489 dcdb0ce828f8
--- a/src/pyams_content/component/paragraph/zmi/frame.py	Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/frame.py	Fri Mar 16 08:17:54 2018 +0100
@@ -19,7 +19,7 @@
 from pyams_content.component.association.interfaces import IAssociationTarget
 from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphPreview
+    IParagraphRenderer
 from pyams_content.component.paragraph.interfaces.frame import IFrameParagraph, FRAME_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -37,7 +37,7 @@
     BaseParagraphAddMenu, BaseParagraphPropertiesEditForm
 from pyams_content.component.paragraph.zmi.container import ParagraphContainerTable, \
     ParagraphTitleToolbarViewletManager
-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, ContextRequestAdapter
@@ -224,9 +224,9 @@
 
 
 #
-# Framed text paragraph preview
+# Framed text paragraph renderer
 #
 
-@adapter_config(context=(IFrameParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class FrameParagraphPreview(BaseRenderedContentPreview):
-    """Framed text paragraph preview"""
+@adapter_config(context=(IFrameParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class FrameParagraphRenderer(BaseRenderedContentRenderer):
+    """Framed text paragraph renderer"""