[CMF-checkins] CVS: CMF/CMFCore - SkinsTool.py:1.19.6.1

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


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

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

=== CMF/CMFCore/SkinsTool.py 1.19 => 1.19.6.1 ===
--- CMF/CMFCore/SkinsTool.py:1.19	Sat Nov  9 14:41:17 2002
+++ CMF/CMFCore/SkinsTool.py	Wed Dec 18 16:42:15 2002
@@ -61,6 +61,8 @@
     This tool is used to supply skins to a portal.
     '''
 
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_skins'
     meta_type = 'CMF Skins Tool'
     _actions = []
@@ -94,14 +96,6 @@
     request_varname = 'portal_skin'
     allow_any = 0
     selections = None
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        Return a list of actions information instances
-        provided by the tool.
-        """
-        return self._actions
 
     security.declareProtected(ManagePortal, 'manage_propertiesForm')
     manage_propertiesForm = DTMLFile('dtml/skinProps', globals())