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

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Dec 14 01:02:14 EST 2003


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

Modified Files:
	metadirectives.py 
Log Message:
Added some documentation, since I had to come up with some for the cookbook 
anyways.


=== Zope3/src/zope/app/component/metadirectives.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/component/metadirectives.py:1.6	Fri Nov 21 12:11:29 2003
+++ Zope3/src/zope/app/component/metadirectives.py	Sun Dec 14 01:02:13 2003
@@ -313,35 +313,50 @@
 
     permission = Id(
         title=u"Permission",
+        description=u"""
+        Specifies the permission by id that will be required to
+        access or mutate the attributes and methods specified.""",
         required=False
         )
 
     attributes = Tokens(
-        title=u"Attributes",
+        title=u"Attributes and methods",
+        description=u"""
+        This is a list of attributes and methods that can be accessed.""",
         required=False,
         value_type=PythonIdentifier()
         )
         
     set_attributes = Tokens(
         title=u"Attributes that can be set",
+        description=u"""
+        This is a list of attributes that can be modified/mutated.""",
         required=False,
         value_type=PythonIdentifier()
         )
 
     interface = Tokens(
-        title=u"Interface",
+        title=u"Interfaces",
+        description=u"""
+        The listed interfaces' methods and attributes can be accessed.""",
         required=False,
         value_type=GlobalObject()
         )
 
     set_schema = Tokens(
         title=u"The attributes specified by the schema can be set",
+        description=u"""
+        The listed schemas' properties can be modified/mutated.""",
         required=False,
         value_type=GlobalObject()
         )
 
     like_class = GlobalObject(
         title=u"Configure like this class",
+        description=u"""
+        This argument says that this content class should be configured in the
+        same way the specified class' security is. If this argument is
+        specifed, no other argument can be used.""",
         required=False
         )
     




More information about the Zope3-Checkins mailing list