[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - field.py:1.3
Steve Alexander
steve@cat-box.net
Fri, 10 Jan 2003 14:38:50 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv14323/src/zope/app/interfaces/services
Modified Files:
field.py
Log Message:
Make the fields IFields
=== Zope3/src/zope/app/interfaces/services/field.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/services/field.py:1.2 Fri Jan 10 13:46:24 2003
+++ Zope3/src/zope/app/interfaces/services/field.py Fri Jan 10 14:38:48 2003
@@ -21,20 +21,20 @@
class IComponentRelated(Interface):
'An interface for something that is related to a single component.'
-
+
type = InterfaceField(
title = u"An interface that must be implemented by the component.",
required = True,
readonly = True,
basetype = None
)
-
-class IComponentLocation(IComponentRelated):
+
+class IComponentLocation(IComponentRelated, IField):
'''A field containing a component location.
This is as an absolute path, or as a dotted module name.'''
-
-class IComponentPath(IComponentRelated):
+
+class IComponentPath(IComponentRelated, IField):
'A field containing a component path.'