[CMF-checkins] CVS: CMF/CMFDefault - PropertiesTool.py:1.8.6.2
Yvo Schubbe
schubbe@web.de
Thu, 19 Dec 2002 13:20:39 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv9201/CMFDefault
Modified Files:
Tag: yuppie-collector096-branch
PropertiesTool.py
Log Message:
tool interface cleanup:
- added portal_properties interface
- added interface tests and made them pass
=== CMF/CMFDefault/PropertiesTool.py 1.8.6.1 => 1.8.6.2 ===
--- CMF/CMFDefault/PropertiesTool.py:1.8.6.1 Wed Dec 18 16:43:35 2002
+++ CMF/CMFDefault/PropertiesTool.py Thu Dec 19 13:20:38 2002
@@ -28,10 +28,13 @@
from Products.CMFCore.CMFCorePermissions import ManagePortal
from utils import _dtmldir
+from Products.CMFCore.interfaces.portal_properties \
+ import portal_properties as IPropertiesTool
+
class PropertiesTool(UniqueObject, SimpleItem, ActionProviderBase):
- __implements__ = ActionProviderBase.__implements__
+ __implements__ = (IPropertiesTool, ActionProviderBase.__implements__)
id = 'portal_properties'
meta_type = 'Default Properties Tool'