[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - introspector.py:1.4
Albertas Agejevas
alga@codeworks.lt
Wed, 2 Jul 2003 11:23:36 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv26198/src/zope/app/interfaces
Modified Files:
introspector.py
Log Message:
Directly implemented interface marking through the Introspector.
SteveA has been demonstrating this during his talk at EuroPython. I reckon
he borrowed Guido's time machine...
=== Zope3/src/zope/app/interfaces/introspector.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/introspector.py:1.3 Sat Jun 21 17:22:09 2003
+++ Zope3/src/zope/app/interfaces/introspector.py Wed Jul 2 11:23:04 2003
@@ -38,7 +38,14 @@
"""Returns interfaces implemented by this class"""
def getInterfaceNames():
- """Returns the name of the interface"""
+ """Returns the names of the interfaces implemented by this class"""
+
+ def getDirectlyProvided():
+ """Returns interfaces directly implemented by an object"""
+
+ def getDirectlyProvidedNames():
+ """Returns the names of the interfaces directly implemented by
+ an object"""
def getInterfaceDetails():
"""Returns the entire documentation in the interface"""
@@ -48,3 +55,9 @@
def getInterfaceRegistration():
"""Returns details for a interface configuration"""
+
+ def getMarkerInterfaces():
+ """Returns a list of marker interfaces available for this object"""
+
+ def getMarkerInterfaceNames():
+ """Returns a list of names of marker interfaces available for this object"""