Importation initiale.
[PlinnDocument.git] / configure.zcml
1 <configure
2 xmlns="http://namespaces.zope.org/zope"
3 xmlns:five="http://namespaces.zope.org/five"
4 xmlns:cmf="http://namespaces.zope.org/cmf"
5 xmlns:genericsetup="http://namespaces.zope.org/genericsetup">
6
7 <cmf:registerDirectory directory="skins" name="plinn_document" recursive="True"/>
8
9 <five:registerClass
10 class=".PlinnDocument.PlinnDocument"
11 meta_type="Plinn Document"
12 permission="cmf.AddPortalContent"
13 />
14 <utility
15 component=".PlinnDocument.PlinnDocumentFactory"
16 name="plinndocument"
17 />
18
19 <genericsetup:registerProfile
20 name="default"
21 title="Plinn Document"
22 description="Adds Plinn document content type."
23 provides="Products.GenericSetup.interfaces.EXTENSION"
24 for="Products.CMFCore.interfaces.ISiteRoot"
25 />
26
27 <adapter
28 provides="Products.Plinn.interfaces.IContentHistory"
29 for=".interfaces.IPlinnDocument"
30 factory=".HistoryAdapters.PlinnDocumentHistory"/>
31
32 </configure>