version 1.1, 2003/11/28 15:03:10
|
version 1.4, 2004/07/26 15:43:26
|
Line 1
|
Line 1
|
import ZSQLExtend |
import ZSQLExtend |
|
import ZSQLMetaData |
|
|
def initialize(context): |
def initialize(context): |
"""initialize OSAS""" |
"""initialize OSAS""" |
Line 10 def initialize(context):
|
Line 11 def initialize(context):
|
) |
) |
) |
) |
|
|
|
context.registerClass( |
|
ZSQLExtend.ZSQLBibliography, |
|
constructors = ( |
|
ZSQLExtend.manage_addZSQLBibliographyForm, |
|
ZSQLExtend.manage_addZSQLBibliography |
|
) |
|
) |
|
|
|
context.registerClass( |
|
ZSQLMetaData.ZSQLMetadataMappingRoot, |
|
constructors = ( |
|
ZSQLMetaData.manage_addZSQLMetadataMappingRootForm, |
|
ZSQLMetaData.manage_addZSQLMetadataMappingRoot |
|
) |
|
) |
|
|
|
context.registerClass( |
|
ZSQLMetaData.ZSQLMetadataMapping, |
|
constructors = ( |
|
ZSQLMetaData.manage_addZSQLMetadataMappingForm, |
|
ZSQLMetaData.manage_addZSQLMetadataMapping |
|
) |
|
) |
|
|
|
methods={ |
|
# We still need this one, at least for now, for both editing and |
|
# adding. Ugh. |
|
'SQLConnectionIDs': ZSQLExtend.showSQLConnectionIDs, |
|
|
|
} |