[CMF-checkins] CVS: CMF/CMFCore - UndoTool.py:1.12
Yvo Schubbe
schubbe@web.de
Mon, 6 Jan 2003 15:37:53 -0500
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv19975/CMFCore
Modified Files:
UndoTool.py
Log Message:
Merged yuppie-collector096-branch:
- Cleaned up Interfaces and API Help. (Collector #96)
- Removed deprecated 'register' module and interface.
=== CMF/CMFCore/UndoTool.py 1.11 => 1.12 ===
--- CMF/CMFCore/UndoTool.py:1.11 Thu Oct 17 15:38:35 2002
+++ CMF/CMFCore/UndoTool.py Mon Jan 6 15:37:20 2003
@@ -27,7 +27,13 @@
from CMFCorePermissions import ManagePortal
from CMFCorePermissions import ListUndoableChanges
+from interfaces.portal_undo import portal_undo as IUndoTool
+
+
class UndoTool (UniqueObject, SimpleItem, ActionProviderBase):
+
+ __implements__ = (IUndoTool, ActionProviderBase.__implements__)
+
id = 'portal_undo'
meta_type = 'CMF Undo Tool'
# This tool is used to undo changes.
@@ -55,13 +61,6 @@
#
security.declareProtected(ManagePortal, 'manage_overview')
manage_overview = DTMLFile( 'explainUndoTool', _dtmldir )
-
- security.declarePrivate('listActions')
- def listActions(self, info=None):
- """
- List actions available through tool
- """
- return self._actions
#
# 'portal_undo' interface methods