[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - cache.zcml:1.4 configure.zcml:1.44 connection.zcml:1.4

Guido van Rossum guido@python.org
Mon, 28 Apr 2003 11:54:41 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv14966

Modified Files:
	cache.zcml configure.zcml connection.zcml 
Log Message:
Use a single generic ZMI tab labeled "Registrations"  instead of
separate ones per object type; also rename it to "registrations.html".


=== Zope3/src/zope/app/browser/services/cache.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/cache.zcml:1.3	Mon Apr 28 11:04:38 2003
+++ Zope3/src/zope/app/browser/services/cache.zcml	Mon Apr 28 11:54:10 2003
@@ -41,18 +41,6 @@
       permission="zope.ManageServices"
       />
 
-  <!-- ZMI tab named "Configurations" for cache objects.
-       Given a cache object this lets you view all configurations
-       available for it. -->
-  <page
-      for="zope.app.interfaces.cache.cache.ICache"
-      name="cacheConfiguration.html"
-      template="cacheConfiguration.pt"
-      class=".cache.UseConfiguration"
-      permission="zope.ManageServices"
-      menu="zmi_views" title="Configurations"
-      />
-
   <!-- When creating a new cache object, you are taken to this
        form to configure it.  The form lets you choose a name,
        an interface, a permission, and a registration status


=== Zope3/src/zope/app/browser/services/configure.zcml 1.43 => 1.44 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.43	Thu Apr 24 16:28:50 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml	Mon Apr 28 11:54:10 2003
@@ -481,16 +481,18 @@
 
 </view>
 
-<!-- ServiceConfiguration -->
+<!-- Generic page for objects that keep track of their registrations -->
 
   <page
-      for="zope.app.interfaces.services.service.ILocalService"
-      name="useConfiguration.html"
+      for="zope.app.interfaces.services.configuration.IUseConfigurable"
+      name="registrations.html"
       template="configuration/useconfiguration.pt"
       class=".configuration.NameUseConfiguration"
       permission="zope.ManageServices"
-      menu="zmi_views" title="Configurations"
+      menu="zmi_views" title="Registrations"
       />
+
+<!-- ServiceConfiguration -->
 
   <page
       name="addConfiguration.html"


=== Zope3/src/zope/app/browser/services/connection.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/connection.zcml:1.3	Thu Apr 24 11:07:07 2003
+++ Zope3/src/zope/app/browser/services/connection.zcml	Mon Apr 28 11:54:11 2003
@@ -41,18 +41,6 @@
       permission="zope.ManageServices"
       />
 
-  <!-- ZMI tab named "Configurations" for connection objects.
-       Given a connection object this lets you view all configurations
-       available for it. -->
-  <page
-      for="zope.app.interfaces.rdb.IZopeDatabaseAdapter"
-      name="connectionConfiguration.html"
-      template="connectionConfiguration.pt"
-      class=".connection.UseConfiguration"
-      permission="zope.ManageServices"
-      menu="zmi_views" title="Configurations"
-      />
-
   <!-- When creating a new connection object, you are taken to this
        form to configure it.  The form lets you the connection
        parameters, a permission, and a registration status