view __init__.py @ 21:0af46e75de3c

preliminary version 0.2 - lots of stuff rewritten - new template system - still no access control
author casties
date Thu, 06 Apr 2006 19:13:43 +0200
parents 96f74b2bab24
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
          )
        )