Mercurial > hg > documentViewer
annotate __init__.py @ 602:ef1d0a1fc9fa
fix bug with no dc-metadata.
author | casties |
---|---|
date | Mon, 26 Nov 2012 13:49:43 +0100 |
parents | 31f562fa7214 |
children | d6eca930a534 |
rev | line source |
---|---|
0 | 1 import documentViewer |
130
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
2 import MpdlXmlTextServer |
564 | 3 import MpiwgXmlTextServer |
0 | 4 |
5 def initialize(context): | |
6 """initialize ImageCollection""" | |
7 context.registerClass( | |
8 documentViewer.documentViewer, | |
9 constructors = ( | |
10 documentViewer.manage_AddDocumentViewerForm, | |
11 documentViewer.manage_AddDocumentViewer | |
12 ) | |
13 ) | |
21 | 14 |
15 context.registerClass( | |
130
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
16 MpdlXmlTextServer.MpdlXmlTextServer, |
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
17 constructors = ( |
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
18 MpdlXmlTextServer.manage_addMpdlXmlTextServerForm, |
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
19 MpdlXmlTextServer.manage_addMpdlXmlTextServer |
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
20 ) |
5c779d7b5f71
more modular version with separate object MpdlXmlTextServer
casties
parents:
21
diff
changeset
|
21 ) |
564 | 22 |
23 context.registerClass( | |
24 MpiwgXmlTextServer.MpiwgXmlTextServer, | |
25 constructors = ( | |
26 MpiwgXmlTextServer.manage_addMpiwgXmlTextServerForm, | |
27 MpiwgXmlTextServer.manage_addMpiwgXmlTextServer | |
28 ) | |
29 ) | |
21 | 30 |