src/pyams_content/component/paragraph/zmi/video.py
changeset 555 8e8a14452567
parent 550 9658debb49a3
child 570 196121e4a6f4
--- a/src/pyams_content/component/paragraph/zmi/video.py	Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/video.py	Fri May 25 08:03:41 2018 +0200
@@ -17,8 +17,7 @@
 
 # import interfaces
 from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
-from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphRenderer
+from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer
 from pyams_content.component.paragraph.interfaces.video import IVideoParagraph, VIDEO_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -34,7 +33,6 @@
 from pyams_content.component.paragraph.video import VideoParagraph
 from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
     BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, IParagraphEditFormButtons
-from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
 from pyams_form.group import NamedWidgetsGroup
 from pyams_pagelet.pagelet import pagelet_config
@@ -204,12 +202,3 @@
                 get_json_widget_refresh_event(self.context, self.request,
                                               VideoParagraphPropertiesInnerEditForm, 'renderer'))
         return output
-
-
-#
-# Video paragraph renderer
-#
-
-@adapter_config(context=(IVideoParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class VideoParagraphRenderer(BaseRenderedContentRenderer):
-    """Video paragraph renderer"""