[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.9

Jim Fulton jim@zope.com
Fri, 7 Mar 2003 11:44:54 -0500


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv27691/zope/app/services

Modified Files:
	configuration.py 
Log Message:
Removed title and description from configuration schema.
Instead, made configuration objects annotatable so that they can
have title and description as meta data.


=== Zope3/src/zope/app/services/configuration.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/services/configuration.py:1.8	Mon Mar  3 18:16:13 2003
+++ Zope3/src/zope/app/services/configuration.py	Fri Mar  7 11:44:49 2003
@@ -19,6 +19,8 @@
 
 from persistence import Persistent
 
+from zope.app.interfaces.annotation import IAttributeAnnotatable
+
 from zope.component \
      import getAdapter, getService, queryService, getServiceManager
 
@@ -257,9 +259,13 @@
     IDeleteNotifiable.
     """
 
-    __implements__ = IConfiguration, IDeleteNotifiable
-
-    title = description = u''
+    __implements__ = (IConfiguration, IDeleteNotifiable,
+                      # We are including this here because we want all of the
+                      # subclasses to get it and we don't really need to be
+                      # flexible about the policy here. At least we don't
+                      # *think* we do. :)
+                      IAttributeAnnotatable,
+                      )
 
     def activated(self):
         pass