[CMF-checkins] CVS: CMF/CMFDefault - PropertiesTool.py:1.8.6.1
Yvo Schubbe
schubbe@web.de
Wed, 18 Dec 2002 16:43:35 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv11117/CMFDefault
Modified Files:
Tag: yuppie-collector096-branch
PropertiesTool.py
Log Message:
ActionProvider interface cleanup:
- Removed listActions() from Contentish and portal_workflow interface.
- Removed redundant or 'None' overriding of listActions().
=== CMF/CMFDefault/PropertiesTool.py 1.8 => 1.8.6.1 ===
--- CMF/CMFDefault/PropertiesTool.py:1.8 Sat Aug 3 22:31:31 2002
+++ CMF/CMFDefault/PropertiesTool.py Wed Dec 18 16:43:35 2002
@@ -30,6 +30,9 @@
class PropertiesTool(UniqueObject, SimpleItem, ActionProviderBase):
+
+ __implements__ = ActionProviderBase.__implements__
+
id = 'portal_properties'
meta_type = 'Default Properties Tool'
_actions = [ActionInformation(id='configPortal'
@@ -60,13 +63,6 @@
#
# 'portal_properties' interface methods
#
- security.declarePrivate('listActions')
- def listActions(self, info=None):
- """
- Return actions provided by tool.
- """
- return self._actions
-
security.declareProtected(ManagePortal, 'editProperties')
def editProperties(self, props):
'''Change portal settings'''