[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - globalbrowsermenuservice.py:1.18 i18nresourcemeta.py:1.10 viewmeta.py:1.27
Jim Fulton
jim@zope.com
Mon, 28 Jul 2003 18:21:38 -0400
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv30139/src/zope/app/publisher/browser
Modified Files:
globalbrowsermenuservice.py i18nresourcemeta.py viewmeta.py
Log Message:
No longer declare INonEmptyDirective and ISubdirectiveHandler.
Complex directive handlers and now recognized through the meta
configuration.
=== Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py:1.17 Wed Jul 9 21:35:12 2003
+++ Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py Mon Jul 28 18:21:02 2003
@@ -20,9 +20,6 @@
from zope.interface.type import TypeRegistry
from zope.interface import implements
-from zope.configuration.interfaces import INonEmptyDirective
-from zope.configuration.interfaces import ISubdirectiveHandler
-
from zope.app.services.servicenames import Interfaces
from zope.security.checker import CheckerPublic
@@ -192,9 +189,6 @@
class menuItemsDirective:
-
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
def __init__(self, _context, menu, for_):
if for_ == '*':
=== Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py:1.9 Sat Jun 7 01:46:02 2003
+++ Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py Mon Jul 28 18:21:02 2003
@@ -20,8 +20,6 @@
from zope.security.proxy import Proxy
from zope.security.checker import CheckerPublic, Checker
-from zope.configuration.interfaces import ISubdirectiveHandler
-from zope.configuration.interfaces import INonEmptyDirective
from zope.configuration.action import Action
from zope.configuration.exceptions import ConfigurationError
@@ -35,9 +33,6 @@
from zope.app.publisher.browser.i18nfileresource import I18nFileResourceFactory
class I18nResource(object):
-
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
type = IBrowserPresentation
default_allowed_attributes = '__call__'
=== Zope3/src/zope/app/publisher/browser/viewmeta.py 1.26 => 1.27 ===
--- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.26 Sat Jun 7 01:46:02 2003
+++ Zope3/src/zope/app/publisher/browser/viewmeta.py Mon Jul 28 18:21:02 2003
@@ -27,8 +27,6 @@
from zope.security.checker import CheckerPublic, Checker
from zope.security.checker import defineChecker
-from zope.configuration.interfaces import INonEmptyDirective
-from zope.configuration.interfaces import ISubdirectiveHandler
from zope.configuration.action import Action
from zope.configuration.exceptions import ConfigurationError
@@ -212,9 +210,6 @@
class pages:
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
-
def __init__(self, _context, for_, permission,
layer='default', class_=None,
allowed_interface='', allowed_attributes='',
@@ -245,9 +240,6 @@
class view:
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
-
default = None
def __init__(self, _context, name, for_, permission,
@@ -401,9 +393,6 @@
allowed_interface, allowed_attributes,
menu, title, usage
)
-
-directlyProvides(addview, INonEmptyDirective)
-
def defaultView(_context, name, for_=None):