--- ZSQLExtend/__init__.py 2004/07/26 15:43:26 1.4 +++ ZSQLExtend/__init__.py 2012/09/03 13:06:11 1.8 @@ -1,8 +1,11 @@ import ZSQLExtend import ZSQLMetaData +import ZSQLUpdate +import VLMAExtensions +import Index def initialize(context): - """initialize OSAS""" + """initialize ZSLQextend""" context.registerClass( ZSQLExtend.ZSQLExtendFolder, constructors = ( @@ -35,9 +38,33 @@ def initialize(context): ) ) -methods={ - # We still need this one, at least for now, for both editing and - # adding. Ugh. - 'SQLConnectionIDs': ZSQLExtend.showSQLConnectionIDs, + context.registerClass( + ZSQLUpdate.ZSQLUpdate, + constructors = ( + ZSQLUpdate.manage_addZSQLUpdateForm, + ZSQLUpdate.manage_addZSQLUpdate + ) + ) + + context.registerClass( + VLMAExtensions.VLMATriples, + constructors = ( + VLMAExtensions.manage_addVLMATriplesForm, + VLMAExtensions.manage_addVLMATriples + ) + ) - } + context.registerClass( + Index.IndexManager, + constructors =( + Index.manage_addIndexManagerForm, + Index.manage_addIndexManager + ) + ) + +#methods={ +# # We still need this one, at least for now, for both editing and +# # adding. Ugh. +# 'SQLConnectionIDs': ZSQLExtend.showSQLConnectionIDs, +# +# }