[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - __init__.py:1.1.2.5 zmi-meta.zcml:1.1.2.4 provideClass.py:NONE
Stephan Richter
srichter@cbu.edu
Tue, 2 Apr 2002 17:25:25 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI
In directory cvs.zope.org:/tmp/cvs-serv20267/lib/python/Zope/App/ZMI
Modified Files:
Tag: Zope-3x-branch
__init__.py zmi-meta.zcml
Removed Files:
Tag: Zope-3x-branch
provideClass.py
Log Message:
Issue 54: Resolve
Cleaned up the ZMI namespace quiet a bit:
- Removed the deprecated provideClass directive from the Code.
- Added "class" attribute to factoryFromClass to the "zmi" and "service"
namespace.
- Changed existing directives to reflect this change.
- Corrected tests.
=== Zope3/lib/python/Zope/App/ZMI/__init__.py 1.1.2.4 => 1.1.2.5 ===
""" Zope Management Interface """
-from provideClass import provideClass
+from metaConfigure import provideClass
=== Zope3/lib/python/Zope/App/ZMI/zmi-meta.zcml 1.1.2.3 => 1.1.2.4 ===
<directives namespace="http://namespaces.zope.org/zmi">
- <!-- provideClass needs to be deprecated -->
- <directive name="provideClass"
- attributes="name, permission_id, title, description"
- handler="Zope.App.ZMI.provideClass.ContentClassDir" />
-
<directive name="factoryFromClass"
- attributes="name, permission_id, title, description"
- handler="Zope.App.ZMI.provideClass.ContentClassDir" />
+ attributes="name, class, permission_id, title, description"
+ handler="Zope.App.ZMI.metaConfigure.ContentClassDir" />
<directive name="tabs" attributes="for"
handler="Zope.App.ZMI.TabsDirective.">
@@ -23,9 +18,9 @@
<!-- Zope.App.ZMI.Service -->
<directives namespace="http://namespaces.zope.org/service">
- <directive name="provideClass"
- attributes="name, permission_id, title, description"
- handler="Zope.App.ZMI.provideClass.ServiceClassDir" />
+ <directive name="factoryFromClass"
+ attributes="name, class, permission_id, title, description"
+ handler="Zope.App.ZMI.metaConfigure.ServiceClassDir" />
</directives>
=== Removed File Zope3/lib/python/Zope/App/ZMI/provideClass.py ===