File:  [Repository] / ECHO_content / __init__.py
Revision 1.12: download - view: text, annotated - select for diffs - revision graph
Fri May 28 10:43:05 2004 UTC (19 years, 11 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
copyrighttype added

import ECHO_collection
import ECHO_Nav
import VLPExtension

def initialize(context):
    """initialize OSAS"""

    
    context.registerClass(
        ECHO_Nav.ECHO_sqlElement,
        constructors = (
          ECHO_Nav.manage_addECHO_sqlElementForm,
          ECHO_Nav.manage_addECHO_sqlElement
          )
        )

    context.registerClass(
        ECHO_Nav.ECHO_contentType,
        constructors = (
          ECHO_Nav.manage_addECHO_contentTypeForm,
          ECHO_Nav.manage_addECHO_contentType
          )
        )
    
    context.registerClass(
        ECHO_Nav.ECHO_pageTemplate,
        constructors = (
          ECHO_Nav.manage_addECHO_pageTemplateForm,
          ECHO_Nav.manage_addECHO_pageTemplate
          )
        )
    
    context.registerClass(
        ECHO_Nav.ECHO_navigation,
        constructors = (
          ECHO_Nav.manage_addECHO_navigationForm,
          ECHO_Nav.manage_addECHO_navigation
          )
        )


    context.registerClass(
        ECHO_collection.ECHO_layoutTemplate,
        constructors = (
          ECHO_collection.manage_addECHO_layoutTemplateForm,
          ECHO_collection.manage_addECHO_layoutTemplate
          ),
        icon = 'ECHO_layoutTemplate.gif'
        )
    
    context.registerClass(
        ECHO_collection.ECHO_collection,
        constructors = (
          ECHO_collection.manage_addECHO_collectionForm,
          ECHO_collection.manage_addECHO_collection
          ),
        icon = 'ECHO_collection.gif'
        )

    context.registerClass(
        ECHO_collection.ECHO_group,
        constructors = (
          ECHO_collection.manage_addECHO_groupForm,
          ECHO_collection.manage_addECHO_group
          ),
        icon = 'ECHO_group.gif'
        )
    
    context.registerClass(
        ECHO_collection.ECHO_externalLink,
        constructors = (
          ECHO_collection.manage_addECHO_externalLinkForm,
          ECHO_collection.manage_addECHO_externalLink
          ),
         icon = 'ECHO_externalLink.gif'
        )

    context.registerClass(
        ECHO_collection.ECHO_link,
        constructors = (
          ECHO_collection.manage_addECHO_linkForm,
          ECHO_collection.manage_addECHO_link
          ),
         icon = 'ECHO_externalLink.gif'
        )
    
    context.registerClass(
        ECHO_collection.ECHO_resource,
        constructors = (
          ECHO_collection.manage_addECHO_resourceForm,
          ECHO_collection.manage_addECHO_resource
          ),
         icon = 'ECHO_ressource.gif'
        )
    

    context.registerClass(
        ECHO_collection.ECHO_partner,
        constructors = (
          ECHO_collection.manage_addECHO_partnerForm,
          ECHO_collection.manage_addECHO_partner
          )
        )
    
    context.registerClass(
        ECHO_collection.ECHO_root,
        constructors = (
          ECHO_collection.manage_addECHO_rootForm,
          ECHO_collection.manage_addECHO_root
          )
        )
    
    context.registerClass(
        ECHO_collection.ECHO_copyrightType,
        constructors = (
          ECHO_collection.manage_addECHO_copyrightTypeForm,
          ECHO_collection.manage_addECHO_copyrightType
          )
        )


    context.registerClass(
        VLPExtension.VLP_resource,
        constructors = (
          VLPExtension.manage_addVLP_resourceForm,
          VLPExtension.manage_addVLP_resource
          ),
         icon = 'ECHO_ressource.gif'
        )
    
    context.registerClass(
        VLPExtension.VLP_collection,
        constructors = (
          VLPExtension.manage_addVLP_collectionForm,
          VLPExtension.manage_addVLP_collection
          ),
         icon = 'ECHO_collection.gif'
        )
    


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>