[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - GlobalBrowserMenuService.py:1.5.4.2 I18nResourceMeta.py:1.2.4.2 ResourceMeta.py:1.3.4.2 ViewMeta.py:1.4.4.2

R. David Murray bitz@bitdance.com
Tue, 22 Oct 2002 08:19:46 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv10611/lib/python/Zope/App/Publisher/Browser

Modified Files:
      Tag: rdmurray-metameta-branch
	GlobalBrowserMenuService.py I18nResourceMeta.py 
	ResourceMeta.py ViewMeta.py 
Log Message:
It doesn't seem right to have the __class_implements__ and not have the
corresponding __implelents__ for ISubdirectiveHandler, so I've added those
as well.


=== Zope3/lib/python/Zope/App/Publisher/Browser/GlobalBrowserMenuService.py 1.5.4.1 => 1.5.4.2 ===
--- Zope3/lib/python/Zope/App/Publisher/Browser/GlobalBrowserMenuService.py:1.5.4.1	Mon Oct 21 19:18:28 2002
+++ Zope3/lib/python/Zope/App/Publisher/Browser/GlobalBrowserMenuService.py	Tue Oct 22 08:19:15 2002
@@ -14,6 +14,7 @@
 
 from IBrowserMenuService import IBrowserMenuService
 from Zope.Configuration.INonEmptyDirective import INonEmptyDirective
+from Zope.Configuration.ISubdirectiveHandler import ISubdirectiveHandler
 from Zope.Configuration.Action import Action
 from Interface.Registry.TypeRegistry import TypeRegistry
 from Zope.Exceptions import DuplicationError, Unauthorized, Forbidden
@@ -119,6 +120,7 @@
 class menuItemsDirective:
 
     __class_implements__ = INonEmptyDirective
+    __implements__ = ISubdirectiveHandler
 
     def __init__(self, _context, menu, for_):
         self.menu = menu


=== Zope3/lib/python/Zope/App/Publisher/Browser/I18nResourceMeta.py 1.2.4.1 => 1.2.4.2 ===
--- Zope3/lib/python/Zope/App/Publisher/Browser/I18nResourceMeta.py:1.2.4.1	Mon Oct 21 19:18:28 2002
+++ Zope3/lib/python/Zope/App/Publisher/Browser/I18nResourceMeta.py	Tue Oct 22 08:19:15 2002
@@ -20,6 +20,7 @@
 from Zope.Security.Checker \
      import CheckerPublic, NamesChecker, Checker
 
+from Zope.Configuration.ISubdirectiveHandler import ISubdirectiveHandler
 from Zope.Configuration.INonEmptyDirective import INonEmptyDirective
 from Zope.Configuration.Action import Action
 from Zope.Configuration.Exceptions import ConfigurationError
@@ -35,6 +36,7 @@
 class I18nResource(object):
 
     __class_implements__ = INonEmptyDirective
+    __implements__ = ISubdirectiveHandler
 
     type = IBrowserPresentation
     default_allowed_attributes = '__call__'


=== Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py 1.3.4.1 => 1.3.4.2 ===
--- Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py:1.3.4.1	Mon Oct 21 19:18:28 2002
+++ Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py	Tue Oct 22 08:19:15 2002
@@ -21,6 +21,7 @@
      import CheckerPublic, NamesChecker, Checker
 
 from Zope.Configuration.INonEmptyDirective import INonEmptyDirective
+from Zope.Configuration.ISubdirectiveHandler import ISubdirectiveHandler
 from Zope.Configuration.Action import Action
 from Zope.Configuration.Exceptions import ConfigurationError
 
@@ -34,6 +35,7 @@
 class resource(object):
 
     __class_implements__ = INonEmptyDirective
+    __implements__ = ISubdirectiveHandler
 
     type = IBrowserPresentation
     default_allowed_attributes = '__call__'


=== Zope3/lib/python/Zope/App/Publisher/Browser/ViewMeta.py 1.4.4.1 => 1.4.4.2 ===
--- Zope3/lib/python/Zope/App/Publisher/Browser/ViewMeta.py:1.4.4.1	Mon Oct 21 19:18:28 2002
+++ Zope3/lib/python/Zope/App/Publisher/Browser/ViewMeta.py	Tue Oct 22 08:19:15 2002
@@ -23,6 +23,7 @@
      import CheckerPublic, NamesChecker, Checker
 
 from Zope.Configuration.INonEmptyDirective import INonEmptyDirective
+from Zope.Configuration.ISubdirectiveHandler import ISubdirectiveHandler
 from Zope.Configuration.Action import Action
 from Zope.Configuration.Exceptions import ConfigurationError
 
@@ -41,6 +42,7 @@
 class view(resource):
 
     __class_implements__ = INonEmptyDirective
+    __implements__ = ISubdirectiveHandler
 
     __pages = None
     __default = None