Mercurial > hg > VLP_extensions
view __init__.py @ 1:c6ed58ab0786 default tip
ignore Eclipse files.
author | casties |
---|---|
date | Wed, 17 Apr 2013 16:17:49 +0200 |
parents | 88009fd07d31 |
children |
line wrap: on
line source
import VLPExtension def initialize(context): """initialize OSAS""" context.registerClass( VLPExtension.VLP_resource, constructors = ( VLPExtension.manage_addVLP_resourceForm, VLPExtension.manage_addVLP_resource ), icon = 'VLP_ressource.gif' ) context.registerClass( VLPExtension.VLP_collection, constructors = ( VLPExtension.manage_addVLP_collectionForm, VLPExtension.manage_addVLP_collection ), icon = 'VLP_collection.gif' ) context.registerClass( VLPExtension.VLP_essay, constructors = ( VLPExtension.manage_addVLP_essayForm, VLPExtension.manage_addVLP_essay ) ) context.registerClass( VLPExtension.VLP_encyclopaedia, constructors = ( VLPExtension.manage_addVLP_encycForm, VLPExtension.manage_addVLP_encyc ) ) context.registerClass( VLPExtension.sendMailForm, constructors = ( VLPExtension.manage_addSendMailFormForm, VLPExtension.manage_addSendMailForm ) )