view __init__.py @ 13:3e570be16eea modularisierung

fixed oopsie
author casties
date Wed, 16 Jun 2010 20:48:34 +0200
parents 3c70a7d2f35b
children
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
          )
        )