src/pyams_default_theme/component/paragraph/interfaces/verbatim.py
changeset 182 f419b942f7f4
parent 137 2e2015661809
child 358 16bcd95b1e01
--- a/src/pyams_default_theme/component/paragraph/interfaces/verbatim.py	Fri Oct 12 10:28:46 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/interfaces/verbatim.py	Fri Oct 12 17:05:26 2018 +0200
@@ -12,14 +12,8 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
-# import interfaces
-
-# import packages
 from zope.interface import Interface
-from zope.schema import Bool, Choice
+from zope.schema import Choice
 from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
 
 from pyams_default_theme import _
@@ -34,23 +28,7 @@
                                                for item in FRAME_POSITIONS])
 
 
-class IVerbatimParagraphRendererSettings(Interface):
-    """Verbatim paragraph default renderer settings interface"""
-
-    display_illustration = Bool(title=_("Show illustration?"),
-                                description=_("If 'no', illustration will not be displayed"),
-                                required=True,
-                                default=True)
-
-    def can_display_illustration(self):
-        """Check if illustration can be displayed"""
-
-
-class IDefaultVerbatimParagraphRendererSettings(IVerbatimParagraphRendererSettings):
-    """Verbatim paragraph default renderer settings interface"""
-
-
-class ILateralVerbatimParagraphRendererSettings(IVerbatimParagraphRendererSettings):
+class ILateralVerbatimParagraphRendererSettings(Interface):
     """Verbatim paragraph lateral renderer settings interface"""
 
     relative_width = Choice(title=_("Relative width"),