view __init__.py @ 283:b38f78e371ea

*** empty log message ***
author abukhman
date Thu, 14 Oct 2010 12:36:19 +0200
parents 5c779d7b5f71
children f2c5417b7ff4
line wrap: on
line source

import documentViewer
import MpdlXmlTextServer

def initialize(context):
    """initialize ImageCollection"""
    context.registerClass(
        documentViewer.documentViewer,
        constructors = (
          documentViewer.manage_AddDocumentViewerForm,
          documentViewer.manage_AddDocumentViewer
          )
        )

    context.registerClass(
        documentViewer.DocumentViewerTemplate,
        constructors = (
          documentViewer.manage_addDocumentViewerTemplateForm,
          documentViewer.manage_addDocumentViewerTemplate
          )
        )

    context.registerClass(
        MpdlXmlTextServer.MpdlXmlTextServer,
        constructors = (
          MpdlXmlTextServer.manage_addMpdlXmlTextServerForm,
          MpdlXmlTextServer.manage_addMpdlXmlTextServer
          )
        )