[Zope-Checkins] SVN: Zope/trunk/ - stitched in manage_interfaces from Five

Yvo Schubbe y.2005- at wcm-solutions.de
Fri Nov 4 12:24:50 EST 2005


Log message for revision 39892:
  - stitched in manage_interfaces from Five

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/OFS/SimpleItem.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2005-11-04 16:59:20 UTC (rev 39891)
+++ Zope/trunk/doc/CHANGES.txt	2005-11-04 17:24:49 UTC (rev 39892)
@@ -26,6 +26,11 @@
 
     Features added
 
+      - interfaces: Added 'Interfaces' tab to basic core objects.
+        This is a Five feature and only available if the classes are made
+        five:traversable. It allows to inspect interfaces and to assign
+        marker interfaces through the ZMI.
+
       - webdav: Added support for the z3 WriteLock interface.
         It is no longer necessary to have the WriteLockInterface in the
         __implements__ list of lockable objects. All classes inheriting from

Modified: Zope/trunk/lib/python/OFS/SimpleItem.py
===================================================================
--- Zope/trunk/lib/python/OFS/SimpleItem.py	2005-11-04 16:59:20 UTC (rev 39891)
+++ Zope/trunk/lib/python/OFS/SimpleItem.py	2005-11-04 17:24:49 UTC (rev 39892)
@@ -122,6 +122,8 @@
     manage_options=(
         App.Undo.UndoSupport.manage_options
         +AccessControl.Owned.Owned.manage_options
+        +({'label': 'Interfaces',
+           'action': 'manage_interfaces'},)
         )
 
     # Attributes that must be acquired



More information about the Zope-Checkins mailing list