Mercurial > hg > ChinaGisRestApi
annotate __init__.py @ 128:8b7994a50d8e
polygon-Layers
author | fknauft |
---|---|
date | Wed, 02 Feb 2011 14:57:38 +0100 |
parents | 7f008e782563 |
children | 9b7db308d2e6 |
rev | line source |
---|---|
1 | 1 |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
2 import RestDbInterface |
43 | 3 import RestDbJsonStore |
4 import RestDbGisApi | |
1 | 5 |
6 def initialize(context): | |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
7 |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
8 context.registerClass( |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
9 RestDbInterface.RestDbInterface, |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
10 constructors = ( |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
11 RestDbInterface.manage_addRestDbInterfaceForm, |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
12 RestDbInterface.manage_addRestDbInterface |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
13 ) |
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
14 ) |
43 | 15 |
50 | 16 context.registerClass( |
17 RestDbJsonStore.RestDbJsonStore, | |
18 constructors = ( | |
19 RestDbJsonStore.manage_addRestDbJsonStoreForm, | |
20 RestDbJsonStore.manage_addRestDbJsonStore | |
21 ) | |
22 ) | |
43 | 23 |
24 context.registerClass( | |
25 RestDbGisApi.RestDbGisApi, | |
26 constructors = ( | |
27 RestDbGisApi.manage_addRestDbGisApiForm, | |
28 RestDbGisApi.manage_addRestDbGisApi | |
29 ) | |
30 ) | |
63 | 31 |
32 # FileSystemSite for gis_gui files | |
33 from Products.FileSystemSite.DirectoryView import registerDirectory | |
34 registerDirectory('gis_gui', globals()) |