view __init__.py @ 27:3ce65220672c

new, less preliminary version 0.2 - lots of stuff rewritten - new template system - still no access control
author casties
date Fri, 07 Apr 2006 20:45:48 +0200
parents 0af46e75de3c
children 5c779d7b5f71
line wrap: on
line source

import documentViewer


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
          )
        )