vendor/Five/1.2b-r20590

view event.zcml @ 0:3673ed425f80

Vendor import of Five 1.2b+ (r20590)
author fguillaume
date Fri, 02 Dec 2005 20:25:42 +0000
parents
children
line source
1 <configure xmlns="http://namespaces.zope.org/zope">
3 <!-- needed to call this during init code -->
4 <include package="zope.app.component" file="meta.zcml" />
6 <!-- Adapter giving sublocations for ObjectManagers, used
7 by dispatchToSublocations -->
9 <adapter
10 for="OFS.interfaces.IObjectManager"
11 provides="zope.app.location.interfaces.ISublocations"
12 factory="OFS.subscribers.ObjectManagerSublocations"
13 />
15 <!-- dispatch IObjectWillBeMovedEvent with "bottom-up" semantics -->
17 <subscriber
18 for="OFS.interfaces.IItem
19 OFS.interfaces.IObjectWillBeMovedEvent"
20 factory="OFS.subscribers.dispatchObjectWillBeMovedEvent"
21 />
23 <!-- dispatch IObjectMovedEvent with "top-down" semantics -->
25 <subscriber
26 for="OFS.interfaces.IItem
27 zope.app.container.interfaces.IObjectMovedEvent"
28 factory="OFS.subscribers.dispatchObjectMovedEvent"
29 />
31 <!-- dispatch IObjectClonedEvent with "top-down" semantics -->
33 <subscriber
34 for="OFS.interfaces.IItem
35 OFS.interfaces.IObjectClonedEvent"
36 factory="OFS.subscribers.dispatchObjectClonedEvent"
37 />
39 </configure>