[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_actions.py:1.8.12.1

Yvo Schubbe schubbe@web.de
Wed, 18 Dec 2002 16:42:45 -0500


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv10905/CMFCore/interfaces

Modified Files:
      Tag: yuppie-collector096-branch
	portal_actions.py 
Log Message:
ActionProvider interface cleanup:
- Removed listActions() from Contentish and portal_workflow interface.
- Removed redundant or 'None' overriding of listActions().

=== CMF/CMFCore/interfaces/portal_actions.py 1.8 => 1.8.12.1 ===
--- CMF/CMFCore/interfaces/portal_actions.py:1.8	Thu Aug  1 15:05:12 2002
+++ CMF/CMFCore/interfaces/portal_actions.py	Wed Dec 18 16:42:45 2002
@@ -70,7 +70,14 @@
 
     # listActions__roles__ = ()  # No permission.
     def listActions(info):
-        '''Support for the old list of mappings is currently supported:
+        """ Return all the actions defined by a provider.
+
+        The info argument is currently used by 'Oldstyle CMF Discussion Tool'
+        and 'CMF Workflow Tool'.
+
+        Returns -- Tuple of ActionInformation objects
+
+        Oldstyle dictionary actions are currently also supported:
         Returns a list of mappings describing actions.  Each action
         should contain the keys "name", "url", "permissions", and
         "category", conforming to the specs outlined in
@@ -86,5 +93,5 @@
           content
           content_url
           The new way of doing this is....
-        '''
+        """