source: documentViewer/__init__.py @ 481:0a0f7f570f90

Last change on this file since 481:0a0f7f570f90 was 130:5c779d7b5f71, checked in by casties, 14 years ago

more modular version with separate object MpdlXmlTextServer?

File size: 812 bytes
Line 
1import documentViewer
2import MpdlXmlTextServer
3
4def initialize(context):
5    """initialize ImageCollection"""
6    context.registerClass(
7        documentViewer.documentViewer,
8        constructors = (
9          documentViewer.manage_AddDocumentViewerForm,
10          documentViewer.manage_AddDocumentViewer
11          )
12        )
13
14    context.registerClass(
15        documentViewer.DocumentViewerTemplate,
16        constructors = (
17          documentViewer.manage_addDocumentViewerTemplateForm,
18          documentViewer.manage_addDocumentViewerTemplate
19          )
20        )
21
22    context.registerClass(
23        MpdlXmlTextServer.MpdlXmlTextServer,
24        constructors = (
25          MpdlXmlTextServer.manage_addMpdlXmlTextServerForm,
26          MpdlXmlTextServer.manage_addMpdlXmlTextServer
27          )
28        )
29   
Note: See TracBrowser for help on using the repository browser.