[CMF-checkins] CVS: CMF/CMFDefault - MetadataTool.py:1.17.6.1

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


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv11098/CMFDefault

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

=== CMF/CMFDefault/MetadataTool.py 1.17 => 1.17.6.1 ===
--- CMF/CMFDefault/MetadataTool.py:1.17	Sat Aug  3 22:31:31 2002
+++ CMF/CMFDefault/MetadataTool.py	Wed Dec 18 16:43:26 2002
@@ -197,6 +197,8 @@
 
 class MetadataTool( UniqueObject, SimpleItem, ActionProviderBase ):
 
+    __implements__ = ActionProviderBase.__implements__
+
     id              = 'portal_metadata'
     meta_type       = 'Default Metadata Tool'
 
@@ -254,13 +256,6 @@
 
     security.declareProtected(ManagePortal, 'propertiesForm')
     propertiesForm = DTMLFile( 'metadataProperties', _dtmldir )
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        Return actions provided via tool.
-        """
-        return self._actions
 
     security.declareProtected(ManagePortal, 'editProperties')
     def editProperties( self