[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - field.py:1.1

Steve Alexander steve@cat-box.net
Thu, 9 Jan 2003 14:13:50 -0500


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

Added Files:
	field.py 
Log Message:
put the interface where it belongs



=== Added File Zope3/src/zope/app/interfaces/services/field.py ===
##############################################################################
#
# Copyright (c) 2002, 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id: field.py,v 1.1 2003/01/09 19:13:48 stevea Exp $
"""

from zope.schema.interfaces import IField
from zope.app.component.interfacefield import InterfaceField

class IComponentPath(IField):
    'A field containing a component path.'

    type = InterfaceField(
        title = u"An interface that must be implemented by the component.",
        required = True,
        readonly = True,
        basetype = None
        )