[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - utilities.py:1.1.2.1

Sidnei da Silva sidnei at x3ng.com.br
Tue Aug 12 10:19:53 EDT 2003


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

Modified Files:
      Tag: dreamcatcher-ttwschema-branch
	utilities.py 
Log Message:
TTWSchema: Work in progress. Made a branch so I can work without disturbing everyone else

=== Zope3/src/zope/app/interfaces/utilities.py 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/interfaces/utilities.py:1.1	Thu Aug  7 16:41:55 2003
+++ Zope3/src/zope/app/interfaces/utilities.py	Tue Aug 12 09:19:18 2003
@@ -1,11 +1,15 @@
 from zope.interface import Interface
 from zope.interface.interfaces import IInterface
 from zope.schema import TextLine
+from zope.app.interfaces.container import IAdding
+from zope.app.interfaces.component import IInterfaceField, IInterfacesField
 
 class ISchemaUtility(Interface):
 
-    name = TextLine(title=u'Schema Name',
-                    description=u"Schema Name")
+    __name__ = TextLine(title=u'Schema Name',
+                        description=u"Schema Name")
+
+class ISchemaAdding(IAdding): pass
 
 class IMutableSchema(IInterface):
 
@@ -28,3 +32,11 @@
     def moveField(name, position):
         """Move field to position.
         """
+
+class IMutableSchemaField(IInterfaceField):
+    u"""A type of Field that has an IMutableSchema as its value."""
+
+class IMutableSchemasField(IInterfaceField):
+    u"""A type of Field that has a tuple of IMutableSchemas as its value."""
+
+




More information about the Zope3-Checkins mailing list