-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.zcml
More file actions
94 lines (78 loc) · 2.65 KB
/
configure.zcml
File metadata and controls
94 lines (78 loc) · 2.65 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="pleiades.geographer">
<include package="collective.geo.geographer"/>
<adapter
for="Products.PleiadesEntity.content.Location.Location"
provides="collective.geo.geographer.interfaces.IGeoreferenced"
factory=".geo.LocationGeoItem"
/>
<adapter
for="Products.PleiadesEntity.content.Place.Place"
provides="collective.geo.geographer.interfaces.IGeoreferenced"
factory=".geo.PlaceGeoItem"
/>
<adapter
for="Products.PleiadesEntity.content.Name.Name"
provides="collective.geo.geographer.interfaces.IGeoreferenced"
factory=".geo.NameGeoItem"
/>
<five:implements
class="Products.PleiadesEntity.content.Location.Location"
interface=".interfaces.ILocatable"
/>
<five:implements
class="Products.PleiadesEntity.content.Place.Place"
interface=".interfaces.ILocatable"
/>
<five:implements
class="Products.PleiadesEntity.content.Name.Name"
interface=".interfaces.ILocatable"
/>
<adapter
for=".interfaces.ILocatable"
provides=".interfaces.IRepresentativePoint"
factory=".geo.RepresentativePoint"
/>
<adapter
for="Products.PleiadesEntity.content.interfaces.IPlace"
provides=".interfaces.IRepresentativePoint"
factory=".geo.PlaceReprPt"
/>
<adapter
for=".interfaces.ILocatable"
provides=".interfaces.IExtent"
factory=".geo.LocationExtent"
/>
<adapter
for="Products.PleiadesEntity.content.interfaces.IPlace"
provides=".interfaces.IExtent"
factory=".geo.PlaceExtent"
/>
<adapter
for="Products.PleiadesEntity.content.interfaces.IPlace"
provides=".interfaces.IFootprint"
factory=".geo.PlaceFootprint"
/>
<adapter name="geolocation" factory=".catalog.location_geo"/>
<adapter name="location_precision" factory=".catalog.location_precision_indexer"/>
<adapter name="zgeo_geometry" factory=".catalog.zgeo_geometry_value"/>
<adapter name="reprPt" factory=".catalog.reprPt_value"/>
<adapter name="bbox" factory=".catalog.bbox_value"/>
<adapter name="footprint" factory=".catalog.footprint_value"/>
<browser:view
for=".interfaces.ILocatable"
name="where"
class=".views.Where"
permission="zope2.View" />
<genericsetup:registerProfile
name="default"
title="Pleiades Geographer"
directory="profiles/default"
description="Geographic adapters and search indexes for Pleiades"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
</configure>