forked from system7ltd/TKContactManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.zcml
39 lines (24 loc) · 964 Bytes
/
configure.zcml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="TKContactManager">
<!-- Make this package a Zope 2 product so that it calls the
initialize() function on startup
-->
<five:registerPackage package="." initialize=".initialize" />
<!-- Include the sub-packages that use their own configure.zcml files. -->
<include package=".browser" />
<include file="profiles.zcml" />
<!-- Adapters -->
<adapter
for="Products.TKContactManager.content.TKAddress.TKAddress"
provides="Products.Maps.interfaces.map.IMap"
factory="Products.Maps.content.Location.LocationMap"
/>
<adapter
for="Products.TKContactManager.content.TKAddress.TKAddress"
provides="Products.Maps.interfaces.marker.IMarker"
factory="Products.Maps.content.Location.LocationMarker"
/>
</configure>