src/pyams_content/shared/form/manager.py
changeset 1425 7d924651271c
parent 1370 87bcbf37ad6d
equal deleted inserted replaced
1424:60d14cecb200 1425:7d924651271c
    15 from zope.interface import implementer
    15 from zope.interface import implementer
    16 from zope.lifecycleevent.interfaces import IObjectAddedEvent
    16 from zope.lifecycleevent.interfaces import IObjectAddedEvent
    17 from zope.schema.fieldproperty import FieldProperty
    17 from zope.schema.fieldproperty import FieldProperty
    18 
    18 
    19 from pyams_content.component.paragraph import IParagraphFactorySettings
    19 from pyams_content.component.paragraph import IParagraphFactorySettings
       
    20 from pyams_content.reference.pictograms.interfaces import IPictogramManagerTarget
    20 from pyams_content.shared.common.interfaces import ISharedContentFactory
    21 from pyams_content.shared.common.interfaces import ISharedContentFactory
    21 from pyams_content.shared.common.manager import SharedTool
    22 from pyams_content.shared.common.manager import SharedTool
    22 from pyams_content.shared.form import Form
    23 from pyams_content.shared.form import Form
    23 from pyams_content.shared.form.interfaces import FORM_CONTENT_TYPE, IFormsManager, \
    24 from pyams_content.shared.form.interfaces import FORM_CONTENT_TYPE, IFormsManager, \
    24     IFormsManagerFactory
    25     IFormsManagerFactory
    28 
    29 
    29 
    30 
    30 __docformat__ = 'restructuredtext'
    31 __docformat__ = 'restructuredtext'
    31 
    32 
    32 
    33 
    33 @implementer(IFormsManager, IParagraphFactorySettings)
    34 @implementer(IFormsManager, IParagraphFactorySettings, IPictogramManagerTarget)
    34 class FormsManager(SharedTool):
    35 class FormsManager(SharedTool):
    35     """Forms manager class"""
    36     """Forms manager class"""
    36 
    37 
    37     shared_content_type = FORM_CONTENT_TYPE
    38     shared_content_type = FORM_CONTENT_TYPE
    38     shared_content_menu = False
    39     shared_content_menu = False