Mercurial > hg > documentViewer
annotate __init__.py @ 81:fae97f071724
fixed problem with info.xml when url without index.meta
author | casties |
---|---|
date | Fri, 12 Feb 2010 14:17:09 +0100 |
parents | 0af46e75de3c |
children | 5c779d7b5f71 |
rev | line source |
---|---|
0 | 1 import documentViewer |
2 | |
3 | |
4 def initialize(context): | |
5 """initialize ImageCollection""" | |
6 context.registerClass( | |
7 documentViewer.documentViewer, | |
8 constructors = ( | |
9 documentViewer.manage_AddDocumentViewerForm, | |
10 documentViewer.manage_AddDocumentViewer | |
11 ) | |
12 ) | |
21 | 13 |
14 context.registerClass( | |
15 documentViewer.DocumentViewerTemplate, | |
16 constructors = ( | |
17 documentViewer.manage_addDocumentViewerTemplateForm, | |
18 documentViewer.manage_addDocumentViewerTemplate | |
19 ) | |
20 ) | |
21 |