Back to index

plone3  3.1.7
Static Public Attributes
plone.app.portlets.metadirectives.IPortletDirective Class Reference
Inheritance diagram for plone.app.portlets.metadirectives.IPortletDirective:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.metadirectives.IPortletDirective:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple name
tuple interface
tuple assignment
tuple view_permission
tuple edit_permission
tuple renderer
tuple addview
tuple editview

Detailed Description

Directive which registers a new portlet type.

The portlet should also be installed into a site using a GenericSetup
portlets.xml file, for example.

Definition at line 11 of file metadirectives.py.


Member Data Documentation

Initial value:
configuration_fields.GlobalObject(
        title=_(u"Add view"),
        description=_(u"View used to add the assignment object"),
        required=True
        )

Definition at line 53 of file metadirectives.py.

Initial value:
configuration_fields.GlobalObject(
        title=_(u"Assignment class"),
        description=_(u"A persistent class storing the portlet assignment"),
        required=True)

Definition at line 28 of file metadirectives.py.

Initial value:
schema.TextLine(
        title=_(u"Edit permission"),
        description=_(u"Permission used for editing the portlet assignment."),
        required=False,
        default=u"cmf.ManagePortal"
        )

Definition at line 40 of file metadirectives.py.

Initial value:
configuration_fields.GlobalObject(
        title=_(u"Edit view"),
        description=_(u"View used to edit the assignment object (if appropriate)"),
        required=False
        )

Definition at line 59 of file metadirectives.py.

Initial value:
configuration_fields.GlobalInterface(
        title=_(u"Assignment type interface"),
        description=_(u"Should correspond to the public interface of the assignment"),
        required=True)

Definition at line 23 of file metadirectives.py.

Initial value:
schema.TextLine(
        title=_(u"Name"),
        description=_(u"A unique name for the portlet. Also used for its add view."),
        required=True)

Definition at line 18 of file metadirectives.py.

Initial value:
configuration_fields.GlobalObject(
        title=_(u"Renderer"),
        description=_(u"A class which renders the portlet data provider"),
        required=True
        )

Definition at line 47 of file metadirectives.py.

Initial value:
schema.TextLine(
        title=_(u"View permission"),
        description=_(u"Permission used for viewing the portlet."),
        required=False,
        default=u"zope2.View"
        )

Definition at line 33 of file metadirectives.py.


The documentation for this class was generated from the following file: