[Zope3-checkins] CVS: zopeproducts/demo/utility - configure.zcml:1.4
Guido van Rossum
guido@python.org
Mon, 28 Apr 2003 16:42:29 -0400
Update of /cvs-repository/zopeproducts/demo/utility
In directory cvs.zope.org:/tmp/cvs-serv23379/zopeproducts/demo/utility
Modified Files:
configure.zcml
Log Message:
Add a new "Add Utility" menu, so you can create new utilities directly
from the utility service.
=== zopeproducts/demo/utility/configure.zcml 1.3 => 1.4 ===
--- zopeproducts/demo/utility/configure.zcml:1.3 Tue Mar 18 16:10:05 2003
+++ zopeproducts/demo/utility/configure.zcml Mon Apr 28 16:42:28 2003
@@ -25,9 +25,20 @@
</content>
+ <!-- Menu entry for "add component" menu -->
<browser:menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_component"
+ action="zopeproducts.demo.utility.DemoUtility"
+ title="Demo Utility"
+ description="a greeting utility"
+ permission="zope.ManageServices"
+ />
+
+ <!-- Menu entry for "add utility" menu -->
+ <browser:menuItem
+ for="zope.app.interfaces.container.IAdding"
+ menu="add_utility"
action="zopeproducts.demo.utility.DemoUtility"
title="Demo Utility"
description="a greeting utility"