Changeset 7791 for main/waeup.sirp/branches/ulif-schoolgrades
- Timestamp:
- 7 Mar 2012, 23:36:47 (13 years ago)
- Location:
- main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/interfaces.py
r7773 r7791 31 31 from zope.container.interfaces import INameChooser 32 32 from zope.interface import Interface, Attribute, implements 33 from zope.schema.interfaces import IObject 33 34 from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm 34 35 … … 179 180 ) 180 181 182 class IResultEntryField(IObject): 183 """A zope.schema-like field for usage in interfaces. 184 185 Marker interface to distuingish result entries from ordinary 186 object fields. Needed for registration of widgets. 187 """ 188 181 189 class ISIRPUtils(Interface): 182 190 """A collection of methods which are subject to customization. … … 1004 1012 required = True, 1005 1013 ) 1006 -
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/schoolgrades.py
r7785 r7791 24 24 from zope.schema.interfaces import IObject 25 25 from zope.schema import Object 26 from waeup.sirp.interfaces import IResultEntry 26 from waeup.sirp.interfaces import IResultEntry, IResultEntryField 27 27 from waeup.sirp.widgets.objectwidget import ( 28 28 SIRPObjectWidget, SIRPObjectDisplayWidget … … 35 35 subject = FieldProperty(IResultEntry['subject']) 36 36 grade = FieldProperty(IResultEntry['grade']) 37 38 class IResultEntryField(IObject):39 """A zope.schema-like field for usage in interfaces.40 41 Marker interface to distuingish result entries from ordinary42 object fields. Needed for registration of widgets.43 """44 37 45 38 class ResultEntryField(Object):
Note: See TracChangeset for help on using the changeset viewer.