view __init__.py @ 561:9255acc4518d

CLOSED - # 256: display texts from different backends (sandbox) https://it-dev.mpiwg-berlin.mpg.de/tracs/mpdl-project-software/ticket/256
author casties
date Mon, 01 Oct 2012 18:09:01 +0200
parents 198b3ae3ea7e
children 31f562fa7214
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(
        MpdlXmlTextServer.MpdlXmlTextServer,
        constructors = (
          MpdlXmlTextServer.manage_addMpdlXmlTextServerForm,
          MpdlXmlTextServer.manage_addMpdlXmlTextServer
          )
        )