Diff for /ZSQLExtend/__init__.py between versions 1.4 and 1.8

version 1.4, 2004/07/26 15:43:26 version 1.8, 2012/09/03 13:06:11
Line 1 Line 1
 import ZSQLExtend  import ZSQLExtend
 import ZSQLMetaData  import ZSQLMetaData
   import ZSQLUpdate
   import VLMAExtensions
   import Index
   
 def initialize(context):  def initialize(context):
     """initialize OSAS"""      """initialize ZSLQextend"""
     context.registerClass(      context.registerClass(
         ZSQLExtend.ZSQLExtendFolder,          ZSQLExtend.ZSQLExtendFolder,
         constructors = (          constructors = (
Line 35  def initialize(context): Line 38  def initialize(context):
           )            )
         )          )
   
 methods={      context.registerClass(
     # We still need this one, at least for now, for both editing and          ZSQLUpdate.ZSQLUpdate,
     # adding.  Ugh.          constructors = (
     'SQLConnectionIDs': ZSQLExtend.showSQLConnectionIDs,            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,
   #
   #   }

Removed from v.1.4  
changed lines
  Added in v.1.8


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