view __init__.py @ 278:4ade9b80b563 default tip

more cleanup. descriptions work better now.
author casties
date Fri, 24 Feb 2012 16:41:30 +0100
parents 9b7db308d2e6
children
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())