[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService - configure.zcml:1.6
Jim Fulton
jim@zope.com
Sun, 23 Jun 2002 13:04:13 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService
In directory cvs.zope.org:/tmp/cvs-serv11667/lib/python/Zope/App/OFS/Services/LocalEventService
Modified Files:
configure.zcml
Log Message:
Finished implementing
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AddMenuProposalAndEndOfZmiNamespace
Updated the service manager to use a menu.
Ripped out the old adder registry code.
=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/configure.zcml 1.5 => 1.6 ===
<content class='.LocalEventService.'>
+
<factory
- id="EventService"
- permission="Zope.ManageServices"
- title="Events"
- description="Capture events from all the contents of this folder
- and its entire nested folder structure" />
+ id='Events'
+ permission='Zope.ManageServices' />
+
<require
permission="Zope.View"
attributes="publishEvent notify" />
@@ -19,6 +18,10 @@
attributes="bound unbound subscribe unsubscribe subscribeOnBind
unsubscribedFrom subscribedTo" />
</content>
+
+ <browser:menuItem menu="add_service" for="Zope.App.OFS.Container.IAdding."
+ action="Events" title='Events'
+ description='An event service: use sparingly' />
<browser:icon name="zmi_icon" for=".LocalEventService.ILocalEventService"
file="./event_service.gif" />