diff options
author | Andreas Mantke <maand@gmx.de> | 2011-04-24 10:59:51 +0200 |
---|---|---|
committer | Andreas Mantke <maand@gmx.de> | 2011-04-24 10:59:51 +0200 |
commit | 53b61036ea7fae1bcf64aec2553225cf2418fcc6 (patch) | |
tree | f9e8922e0286cf48dd902da5cf45e960a28d9419 | |
parent | a83e4421d84700b6ed38cd2044e6e76f54fe175d (diff) |
functionality to configure.zcml added
-rw-r--r-- | LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml index 8114c84..c5f8657 100644 --- a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml +++ b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml @@ -2,6 +2,7 @@ xmlns="http://namespaces.zope.org/zope" xmlns:five="http://namespaces.zope.org/five" xmlns:i18n="http://namespaces.zope.org/i18n" + xmlns:zcml="http://namespaces.zope.org/zcml" xmlns:genericsetup="http://namespaces.zope.org/genericsetup" i18n_domain="am.LiboExtensionCenter"> @@ -16,4 +17,53 @@ /> <!-- -*- extra stuff goes here -*- --> + <!-- make sure that Libo Extension Centers can have content rules assigned to them --> + <class class=".content.root.LiboExtensionCenter" + zcml:condition="installed contentrules"> + <implements interface="plone.contentrules.engine.interfaces.IRuleAssignable" /> + </class> + + <include package=".namespace" /> + <include package=".browser" /> + <include package=".storage" /> + <include package=".events" file="configure.zcml" /> + + + + + <!-- Avoid deprecation warnings for manage_afterAdd and friends that + only show up because some base classes that we inherit from use + them. --> + <five:deprecatedManageAddDelete + class=".content.root.LiboExtensionCenter" /> + <five:deprecatedManageAddDelete + class=".content.project.LECProject" /> + <five:deprecatedManageAddDelete + class=".content.releasefolder.LECReleaseFolder" /> + <five:deprecatedManageAddDelete + class=".content.release.LECRelease" /> + <five:deprecatedManageAddDelete + class=".content.docfolder.LECDocumentationFolder" /> + <five:deprecatedManageAddDelete + class=".content.downloadablefile.LECFile" /> + <five:deprecatedManageAddDelete + class=".content.filelink.LECFileLink" /> + <five:deprecatedManageAddDelete + class=".content.proposalfolder.LECImprovementProposalFolder" /> + <five:deprecatedManageAddDelete + class=".content.proposal.LECImprovementProposal" /> + + <include package="cioppino.twothumbs" /> + <class class=".content.project.LECProject"> + <implements interface="cioppino.twothumbs.interfaces.ILoveThumbsDontYou" /> + </class> + + <genericsetup:importStep + name="liboextensioncenter_various" + handler="am.LiboExtensionCenter.setuphandlers.importVarious" + title="Various LiboExtensionCenter Settings" + description="LiboExtensionCenter specific settings"> + <depends name="typeinfo" /> + </genericsetup:importStep> + </configure> |