[Zope3-checkins] CVS: Zope3/src/zope/app/component - interfacefield.py:1.7

Fred L. Drake, Jr. fred@zope.com
Mon, 14 Apr 2003 14:22:06 -0400


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

Modified Files:
	interfacefield.py 
Log Message:
Rename IValueSet to IEnumerated, and ValueSet to Enumerated.
Treat these more like mixins than like directly useful things.


=== Zope3/src/zope/app/component/interfacefield.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/component/interfacefield.py:1.6	Fri Jan 17 11:30:17 2003
+++ Zope3/src/zope/app/component/interfacefield.py	Mon Apr 14 14:21:35 2003
@@ -15,14 +15,14 @@
 $Id$
 """
 
-from zope.schema import ValueSet, Tuple
+from zope.schema import Enumerated, Field, Tuple
 from zope.interface import Interface
 from zope.interface.interfaces import IInterface
 from zope.schema.interfaces import ValidationError
 from zope.app.interfaces.component.interfacefield import IInterfaceField
 from zope.app.interfaces.component.interfacefield import IInterfacesField
 
-class InterfaceField(ValueSet):
+class InterfaceField(Enumerated, Field):
     __doc__ = IInterfaceField.__doc__
     __implements__ = IInterfaceField