loops/config/configure.zcml
helmutm 10a5ee8910 work in progress: configuration (options/settings) user interface
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3877 fd906abe-77d9-0310-91a1-e0d9ade77398
2010-05-24 09:54:22 +00:00

45 lines
1.5 KiB
XML

<!-- $Id$ -->
<configure
xmlns:zope="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="zope">
<zope:utility factory="loops.config.base.GlobalOptions" />
<zope:adapter factory="loops.config.base.LoopsOptions" trusted="True" />
<zope:class class="loops.config.base.LoopsOptions">
<allow interface="cybertools.meta.interfaces.IOptions" />
</zope:class>
<zope:adapter factory="loops.config.base.TypeOptions" trusted="True" />
<zope:class class="loops.config.base.TypeOptions">
<allow interface="cybertools.meta.interfaces.IOptions" />
</zope:class>
<zope:adapter factory="loops.config.base.QueryOptions" trusted="True" />
<zope:class class="loops.config.base.QueryOptions">
<allow interface="cybertools.meta.interfaces.IOptions" />
</zope:class>
<zope:adapter factory="loops.config.base.PredicateOptions" trusted="True" />
<zope:class class="loops.config.base.PredicateOptions">
<allow interface="cybertools.meta.interfaces.IOptions" />
</zope:class>
<!-- backward compatibility -->
<zope:adapter factory="loops.config.base.QueryOptions" trusted="True"
for="loops.query.IQueryConcept" />
<!-- query views -->
<zope:adapter
name="configurator.html"
for="loops.interfaces.IConcept
zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.interface.Interface"
factory="loops.config.browser.ConfiguratorView"
permission="zope.View" />
</configure>