[Erp5-report] r38242 nicolas.dumazet - /erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 9 15:59:44 CEST 2010


Author: nicolas.dumazet
Date: Thu Sep  9 15:59:38 2010
New Revision: 38242

URL: http://svn.erp5.org?rev=38242&view=rev
Log:
add properties that are necessary to implement Portal Types as Python Classes

Modified:
    erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py

Modified: erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py?rev=38242&r1=38241&r2=38242&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/PropertySheet/BaseType.py [utf8] Thu Sep  9 15:59:38 2010
@@ -44,6 +44,21 @@ class BaseType:
           'mode':       'w',
           'label':      'Product factory method'
          },
+        { 'id':         'type_class'
+        , 'type':       'string'
+        , 'mode':       'w'
+        , 'label':      'Document class the Portal Type inherits from'
+         },
+        { 'id':         'type_mixin_list'
+        , 'type':       'lines'
+        , 'mode':       'w'
+        , 'label':      'List of Mixins that are attached to the Portal Type'
+         },
+        { 'id':         'type_interface_list'
+        , 'type':       'lines'
+        , 'mode':       'w'
+        , 'label':      'List of Interfaces that the Portal Type implements'
+         },
         { 'id':         'type_add_permission',
           'storage_id': 'permission', # CMF Compatibility
           'type':       'string',




More information about the Erp5-report mailing list