view __init__.py @ 522:198b3ae3ea7e

moved Annotator AuthTokenGenerator to its own product.
author casties
date Fri, 23 Mar 2012 16:31:13 +0100
parents 112578de1470
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
          )
        )