File:  [Repository] / documentViewer / __init__.py
Revision 1.3.2.1: download - view: text, annotated - select for diffs - revision graph
Mon Aug 22 15:00:28 2011 UTC (12 years, 10 months ago) by casties
Branches: elementtree
Diff to: branchpoint 1.3: preferred, unified
more new template stuff

    1: import documentViewer
    2: import MpdlXmlTextServer
    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:         )
   13: 
   14:     context.registerClass(
   15:         MpdlXmlTextServer.MpdlXmlTextServer,
   16:         constructors = (
   17:           MpdlXmlTextServer.manage_addMpdlXmlTextServerForm,
   18:           MpdlXmlTextServer.manage_addMpdlXmlTextServer
   19:           )
   20:         )
   21:     

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>