[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image - configure.zcml:1.5

Jim Fulton jim@zope.com
Thu, 20 Jun 2002 16:00:53 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image
In directory cvs.zope.org:/tmp/cvs-serv19918/lib/python/Zope/App/OFS/Content/Image

Modified Files:
	configure.zcml 
Log Message:

Gary and Jim implemented most of:
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AddMenuProposalAndEndOfZmiNamespace

A lot of clean up is needed, including:

- Implementation additional add menus, for example for services.

- Ripping out old unused implementation.





=== Zope3/lib/python/Zope/App/OFS/Content/Image/configure.zcml 1.4 => 1.5 ===
    xmlns='http://namespaces.zope.org/zope'
-   xmlns:zmi='http://namespaces.zope.org/zmi'
    xmlns:browser='http://namespaces.zope.org/browser'
 >
   <permission id="Zope.AddImages" title="Add Images" />
   
   <content class=".Image.">
-    <zmi:factory
+    <factory
         id="Image"                        
         permission="Zope.ManageContent"
         title="Image"
@@ -26,17 +25,6 @@
       factory="Zope.App.OFS.Annotation.AttributeAnnotations."
       provides="Zope.App.OFS.Annotation.IAnnotations."
       for=".Image." />
-
-  <!-- tabs for image -->
-
-  <browser:menuItems menu="zmi_views" for=".Image.IImage.">
-    <browser:menuItem title="Edit" action="editForm.html"/>
-    <browser:menuItem title="View" action="."/>
-    <browser:menuItem title="Role Permissions"
-             action="AllRolePermissions.html"/>
-  </browser:menuItems>
-
-  <browser:icon name="zmi_icon" for=".Image.IImage." file="Image_icon.gif" />
 
   <!-- Further Directives -->