[Zope3-checkins] CVS: Zope3/src/zope/app/component - metadirectives.py:1.8

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Dec 14 03:49:00 EST 2003


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

Modified Files:
	metadirectives.py 
Log Message:
Inserted some more documentation.


=== Zope3/src/zope/app/component/metadirectives.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/component/metadirectives.py:1.7	Sun Dec 14 01:02:13 2003
+++ Zope3/src/zope/app/component/metadirectives.py	Sun Dec 14 03:48:59 2003
@@ -130,27 +130,36 @@
 
     factory = Tokens(
         title=u"Adapter factory/factories",
+        description=u"""A list of factories (usually just one) that create the
+        adapter instance.""",
         required=True,
         value_type=GlobalObject()
         )
 
     provides = GlobalObject(
         title=u"Interface the component provides",
+        description=u"""This attribute specifes the interface the adapter
+        instance must provide.""",
         required=True
         )
 
     for_ = GlobalObject(
         title=u"Interface the component is used for",
+        description=u"""This is the interface from which is being adapted.""",
         required=True
         )
 
     permission = Id(
         title=u"Permission",
+        description=u"""This adapter is only available, if the principal has
+        this permission.""",
         required=False
         )
 
     name = TextLine(
         title=u"Name",
+        description=u"""Adapters can have names. This attribute allows you to
+        specify the name for this adapter.""",
         required=False
         )
 




More information about the Zope3-Checkins mailing list