src/pyams_content/component/association/zmi/paragraph.py
changeset 555 8e8a14452567
parent 550 9658debb49a3
child 591 b694d5667d17
--- a/src/pyams_content/component/association/zmi/paragraph.py	Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/association/zmi/paragraph.py	Fri May 25 08:03:41 2018 +0200
@@ -18,8 +18,7 @@
 # import interfaces
 from pyams_content.component.association.interfaces import IAssociationParagraph, ASSOCIATION_PARAGRAPH_TYPE
 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.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
 from pyams_content.shared.common.interfaces import IWfSharedContent
@@ -33,7 +32,6 @@
 from pyams_content.component.association.paragraph import AssociationParagraph
 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_pagelet.pagelet import pagelet_config
 from pyams_skin.event import get_json_widget_refresh_event
@@ -141,12 +139,3 @@
                                                                                  AssociationParagraphInnerEditForm,
                                                                                  'renderer'))
         return output
-
-
-#
-# Association paragraph renderer
-#
-
-@adapter_config(context=(IAssociationParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class AssociationParagraphRenderer(BaseRenderedContentRenderer):
-    """Association paragraph renderer"""