view __init__.py @ 266:c37e8c173136

Multilayer for Europeana4D
author fknauft
date Wed, 25 Jan 2012 20:43:05 +0100
parents 7f008e782563
children 9b7db308d2e6
line wrap: on
line source


import RestDbInterface
import RestDbJsonStore
import RestDbGisApi

def initialize(context):

    context.registerClass(
         RestDbInterface.RestDbInterface,
        constructors = (
          RestDbInterface.manage_addRestDbInterfaceForm,
          RestDbInterface.manage_addRestDbInterface
          )
        )

    context.registerClass(
         RestDbJsonStore.RestDbJsonStore,
        constructors = (
          RestDbJsonStore.manage_addRestDbJsonStoreForm,
          RestDbJsonStore.manage_addRestDbJsonStore
          )
        )

    context.registerClass(
         RestDbGisApi.RestDbGisApi,
        constructors = (
          RestDbGisApi.manage_addRestDbGisApiForm,
          RestDbGisApi.manage_addRestDbGisApi
          )
        )

# FileSystemSite for gis_gui files
from Products.FileSystemSite.DirectoryView import registerDirectory
registerDirectory('gis_gui', globals())