[CMF-checkins] CVS: CMF/CMFCore - TypesTool.py:1.46.12.1

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


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

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

=== CMF/CMFCore/TypesTool.py 1.46 => 1.46.12.1 ===
--- CMF/CMFCore/TypesTool.py:1.46	Mon Aug  5 17:20:04 2002
+++ CMF/CMFCore/TypesTool.py	Wed Dec 18 16:42:26 2002
@@ -599,6 +599,9 @@
     """
         Provides a configurable registry of portal content types.
     """
+
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_types'
     meta_type = 'CMF Types Tool'
     _actions = []
@@ -616,14 +619,6 @@
     #
     security.declareProtected(ManagePortal, 'manage_overview')
     manage_overview = DTMLFile( 'explainTypesTool', _dtmldir )
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        Return a list of action information instances
-        for actions provided via tool
-        """
-        return self._actions
 
     def all_meta_types(self):
         """Adds TypesTool-specific meta types."""