Author: reebalazs
Date: Sun Nov 11 12:09:31 2007
New Revision: 48551
Added:
kukit/kss.zope/trunk/kss/zope/bbb/
- copied from r48549,
kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/
kukit/kss.zope/trunk/kss/zope/bbb/deprecated.py
- copied unchanged from r48549,
kukit/kss.zope/trunk/kss/core/deprecated.py
kukit/kss.zope/trunk/kss/zope/browser/
- copied from r48549,
kukit/kss.zope/trunk/kss/core/pluginregistry/browser/
Removed:
kukit/kss.zope/trunk/kss/core/pluginregistry/_concatresource/
kukit/kss.zope/trunk/kss/core/pluginregistry/action.py
kukit/kss.zope/trunk/kss/core/pluginregistry/browser/
kukit/kss.zope/trunk/kss/core/pluginregistry/command.py
kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/
kukit/kss.zope/trunk/kss/core/pluginregistry/event_type.py
kukit/kss.zope/trunk/kss/core/pluginregistry/pprovider.py
Modified:
kukit/kss.zope/trunk/kss/core/commands.py
kukit/kss.zope/trunk/kss/core/configure.zcml
kukit/kss.zope/trunk/kss/core/pluginregistry/__init__.py
kukit/kss.zope/trunk/kss/core/pluginregistry/configure.py
kukit/kss.zope/trunk/kss/core/pluginregistry/configure.zcml
kukit/kss.zope/trunk/kss/core/pluginregistry/directives.py
kukit/kss.zope/trunk/kss/core/pluginregistry/interfaces.py
kukit/kss.zope/trunk/kss/core/pluginregistry/meta.zcml
kukit/kss.zope/trunk/kss/zope/bbb/__init__.py
kukit/kss.zope/trunk/kss/zope/bbb/configure.py
kukit/kss.zope/trunk/kss/zope/bbb/directives.py
kukit/kss.zope/trunk/kss/zope/bbb/meta.zcml
kukit/kss.zope/trunk/kss/zope/configure.zcml
kukit/kss.zope/trunk/kss/zope/meta.zcml
Log:
BBB old kss:action kss:eventtype kss:paramprovider directives.
Modified: kukit/kss.zope/trunk/kss/core/commands.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/commands.py (original)
+++ kukit/kss.zope/trunk/kss/core/commands.py Sun Nov 11 12:09:31 2007
@@ -28,9 +28,8 @@
from unicode_quirks import force_unicode
import zope.component
from parsers import XmlParser, HtmlParser
-from pluginregistry import checkRegisteredCommand_old
-from pluginregistry import checkRegisteredCommand, checkRegisteredSelector, \
- KSSPluginError
+##from pluginregistry import checkRegisteredSelector
+from pluginregistry import checkRegisteredSelector
class KSSCommands(list):
implements(IKSSCommands)
@@ -67,19 +66,11 @@
implements(IKSSCommand)
def __init__(self, command_name, selector=None, **kw):
- try:
- checkRegisteredCommand_old(command_name)
- except KSSPluginError:
- # we expect this is not registered as command, anyway
- # so check it as an action.
- checkRegisteredCommand(command_name)
- else:
- # ok. XXX this will be deprecated
- # All registerCommand commands are obsolete, by default
- import warnings, textwrap
- warnings.warn(textwrap.dedent('''\
- The usage of the kss command "%s" is deprecated'''
- % (command_name, )), DeprecationWarning, 2)
+ # we expect this is not registered as command, anyway
+ # so check it as an action.
+## XXX command checking temporarily disabled
+## XXX TODO needs to work from new registry.
+## checkRegisteredCommand(command_name)
if selector is not None:
if isinstance(selector, basestring):
# the default selector - given just as a string
Modified: kukit/kss.zope/trunk/kss/core/configure.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/core/configure.zcml (original)
+++ kukit/kss.zope/trunk/kss/core/configure.zcml Sun Nov 11 12:09:31 2007
@@ -12,8 +12,10 @@
<!-- Include the core plugins -->
<include package=".plugins" />
- <!-- javascript testing support -->
- <include package=".tests" file="configure-online.zcml" />
+ <!-- javascript testing support
+ XXX disabled during the transition process
+ -->
+ <!--include package=".tests" file="configure-online.zcml" /-->
<!-- Javascript resources that are used by the core
(Resources used by plugins are loaded from the component)
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/__init__.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/__init__.py (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/__init__.py Sun Nov 11
12:09:31 2007
@@ -20,7 +20,4 @@
'''
from plugin import KSSPluginError
-from command import Command, checkRegisteredCommand_old
-from event_type import EventType
-from action import Action, checkRegisteredCommand
from selector_type import SelectorType, checkRegisteredSelector
Deleted: /kukit/kss.zope/trunk/kss/core/pluginregistry/action.py
==============================================================================
--- /kukit/kss.zope/trunk/kss/core/pluginregistry/action.py Sun Nov 11
12:09:31 2007
+++ (empty file)
@@ -1,55 +0,0 @@
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-from plugin import KSSPlugin, KSSPluginError
-from interfaces import IAction
-from zope.interface import implements
-import zope.component as capi
-
-def checkRegisteredCommand(name):
- 'Check if it is a registered command.'
- try:
- command = capi.getUtility(IAction, name)
- except capi.ComponentLookupError:
- raise KSSPluginError, '"%s" is not a registered kss command' % (name, )
- # check if the action has a valid command factory
- if command.command_factory == 'none':
- raise KSSPluginError, '"%s" kss command has missing command_factory' %
(name, )
- # issue deprecation warning, if necessary
- command.check_deprecation()
-
-class Action(KSSPlugin):
- '''The action plugin
-
- '''
-
- implements(IAction)
-
- def __init__(self, name, jsfile, command_factory,
- params_mandatory, params_optional, deprecated):
- KSSPlugin.__init__(self, name, jsfile)
- self.command_factory = command_factory
- self.params_mandatory = params_mandatory
- self.params_optional = params_optional
- self.deprecated = deprecated
-
- def check_deprecation(self):
- if self.deprecated:
- import warnings, textwrap
- warnings.warn(textwrap.dedent('''\
- The usage of the kss command "%s" is deprecated,
- %s''' % (self.name, self.deprecated)), DeprecationWarning, 2)
Deleted: /kukit/kss.zope/trunk/kss/core/pluginregistry/command.py
==============================================================================
--- /kukit/kss.zope/trunk/kss/core/pluginregistry/command.py Sun Nov 11
12:09:31 2007
+++ (empty file)
@@ -1,39 +0,0 @@
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-from plugin import KSSPlugin
-from interfaces import ICommand
-from plugin import KSSPluginError
-import zope.component as capi
-from zope.interface import implements
-
-def checkRegisteredCommand_old(name):
- 'Check if it is a registered command.'
- try:
- command = capi.getUtility(ICommand, name)
- except capi.ComponentLookupError:
- raise KSSPluginError, '"%s" is not a registered kss command' % (name, )
-
-class Command(KSSPlugin):
- '''The command plugin
-
- '''
-
- implements(ICommand)
-
- def __init__(self, name, jsfile):
- KSSPlugin.__init__(self, name, jsfile)
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/configure.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/configure.py (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/configure.py Sun Nov 11
12:09:31 2007
@@ -16,41 +16,11 @@
# 02111-1307, USA.
from zope.component.zcml import adapter
-from interfaces import IEventType, ISelectorType, IAction, IParamProvider
-from event_type import EventType
-from action import Action
+from interfaces import ISelectorType
from selector_type import SelectorType
from commandset import registerAndAllowCommandSet
-from pprovider import ParamProvider
from plugin import registerPlugin
-def registerEventType(_context, name, jsfile=None):
- 'Directive that registers an event type'
-
- # check to see if the file exists
- if jsfile is not None:
- file(jsfile, 'rb').close()
-
- _context.action(
- discriminator = ('registerKssEventType', name, jsfile),
- callable = registerPlugin,
- args = (EventType, IEventType, name, jsfile),
- )
-
-def registerAction(_context, name, jsfile=None, command_factory='none',
- params_mandatory=[], params_optional=[], deprecated=None):
- 'Directive that registers an action.'
-
- # check to see if the file exists
- if jsfile is not None:
- file(jsfile, 'rb').close()
-
- _context.action(
- discriminator = ('registerKssAction', name, jsfile),
- callable = registerPlugin,
- args = (Action, IAction, name, jsfile, command_factory,
params_mandatory, params_optional, deprecated),
- )
-
def registerSelectorType(_context, name, jsfile=None):
'Directive that registers a selector type'
@@ -73,16 +43,3 @@
callable = registerAndAllowCommandSet,
args = (class_, name, provides),
)
-
-def registerParamProvider(_context, name, jsfile=None):
- 'Directive that registers a parameter provider'
-
- # check to see if the file exists
- if jsfile is not None:
- file(jsfile, 'rb').close()
-
- _context.action(
- discriminator = ('registerKssParamProvider', name),
- callable = registerPlugin,
- args = (ParamProvider, IParamProvider, name, jsfile),
- )
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/configure.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/configure.zcml (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/configure.zcml Sun Nov 11
12:09:31 2007
@@ -1,32 +1,5 @@
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
>
-
- <!-- XXX concatresource is now included locally. -->
- <include package="._concatresource" />
-
- <include package=".json" />
-
- <include package=".browser" />
-
- <!-- Register an adapter for concatresource -->
-
- <utility
- provides="concatresource.interfaces.IConcatResourceAddon"
- name="kukit.js"
- component=".registry.kssConcatResourceAddon"
- />
-
- <utility
- provides="concatresource.interfaces.IConcatResourceAddon"
- name="kukit-src.js"
- component=".registry.kssConcatResourceAddon"
- />
-
- <utility
- provides="concatresource.interfaces.IConcatResourceAddon"
- name="kukit-devel.js"
- component=".registry.kssConcatResourceAddon"
- />
</configure>
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/directives.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/directives.py (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/directives.py Sun Nov 11
12:09:31 2007
@@ -1,65 +1,11 @@
from zope.interface import Interface
-from zope.schema import TextLine, Choice
-from zope.configuration.fields import Path, Tokens, PythonIdentifier, \
- GlobalInterface, GlobalObject
+from zope.schema import TextLine
+from zope.configuration.fields import (
+ Path,
+ GlobalInterface,
+ GlobalObject,
+ )
-class IRegisterEventTypeDirective(Interface):
- 'Register a KSS event type'
-
- name = TextLine(
- title=u"Name",
- description=u"The name of the event type plugin.",
- required=True,
- )
-
- jsfile = Path(
- title=u"Javascript file",
- description=u"The path of the javascript file that defines the
plugin",
- required=False,
- )
-
-class IRegisterActionDirective(Interface):
- 'Register a KSS action'
-
- name = TextLine(
- title=u"Name",
- description=u"The name of the action plugin.",
- required=True,
- )
-
- jsfile = Path(
- title=u"Javascript file",
- description=u"The path of the javascript file that defines the
plugin",
- required=False,
- )
-
- command_factory = Choice(
- title=u"Command factory type",
- description=u"Command factory type, by default 'none'.",
- values=(u'none', u'global', u'selector'),
- required=False,
- )
-
- params_mandatory = Tokens(
- title=u"Mandatory parameters",
- description=u"Space separated list of mandatory parameter names",
- value_type=PythonIdentifier(),
- required=False,
- )
-
- params_optional = Tokens(
- title=u"Optional parameters",
- description=u"Comma separated list of optional parameter names",
- value_type=PythonIdentifier(),
- required=False,
- )
-
- deprecated = TextLine(
- title=u"Deprecated",
- description=u"The hint that we should give as warning about
deprecation",
- required=False,
- )
-
class IRegisterSelectorTypeDirective(Interface):
'Register a KSS selector type'
@@ -101,18 +47,3 @@
description=u"The interface that does the adaptation on the view for
this set",
required=True,
)
-
-class IRegisterParamProviderDirective(Interface):
- 'Register a KSS parameter provider'
-
- name = TextLine(
- title=u"Name",
- description=u"The name of the parameter provider plugin.",
- required=True,
- )
-
- jsfile = Path(
- title=u"Javascript file",
- description=u"The path of the javascript file that defines the
plugin",
- required=False,
- )
Deleted: /kukit/kss.zope/trunk/kss/core/pluginregistry/event_type.py
==============================================================================
--- /kukit/kss.zope/trunk/kss/core/pluginregistry/event_type.py Sun Nov 11
12:09:31 2007
+++ (empty file)
@@ -1,31 +0,0 @@
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-from plugin import KSSPlugin
-from interfaces import IEventType
-from zope.interface import implements
-
-class EventType(KSSPlugin):
- '''The event type plugin
-
- '''
-
- implements(IEventType)
-
- def __init__(self, name, jsfile):
- KSSPlugin.__init__(self, name, jsfile)
-
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/interfaces.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/interfaces.py (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/interfaces.py Sun Nov 11
12:09:31 2007
@@ -23,20 +23,8 @@
this represents an entity implemented in a javascript file
'''
-class ICommand(IKSSPlugin):
- '''Command plugin'''
-
-class IAction(IKSSPlugin):
- '''Action plugin'''
-
-class IEventType(IKSSPlugin):
- '''Event type plugin'''
-
class ISelectorType(IKSSPlugin):
'''Selector type plugin'''
class ICommandSet(Interface):
'''Command set plugin'''
-
-class IParamProvider(IKSSPlugin):
- '''Parameter provider plugin'''
Modified: kukit/kss.zope/trunk/kss/core/pluginregistry/meta.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/meta.zcml (original)
+++ kukit/kss.zope/trunk/kss/core/pluginregistry/meta.zcml Sun Nov 11
12:09:31 2007
@@ -1,26 +1,8 @@
<configure
xmlns="http://namespaces.zope.org/meta">
- <!-- XXX concatresource is now included locally. -->
- <include package="._concatresource" file="meta.zcml"/>
-
- <!-- XXX deprecation of the old azax: namespace -->
- <include package=".deprecated" file="meta.zcml"/>
-
<directives namespace="http://namespaces.zope.org/kss">
- <directive
- name="eventtype"
- schema=".directives.IRegisterEventTypeDirective"
- handler=".configure.registerEventType"
- />
-
- <directive
- name="action"
- schema=".directives.IRegisterActionDirective"
- handler=".configure.registerAction"
- />
-
<directive
name="selectortype"
schema=".directives.IRegisterSelectorTypeDirective"
@@ -33,12 +15,6 @@
handler=".configure.registerCommandSet"
/>
- <directive
- name="paramprovider"
- schema=".directives.IRegisterParamProviderDirective"
- handler=".configure.registerParamProvider"
- />
-
</directives>
</configure>
Deleted: /kukit/kss.zope/trunk/kss/core/pluginregistry/pprovider.py
==============================================================================
--- /kukit/kss.zope/trunk/kss/core/pluginregistry/pprovider.py Sun Nov 11
12:09:31 2007
+++ (empty file)
@@ -1,30 +0,0 @@
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-from plugin import KSSPlugin
-from interfaces import IParamProvider
-import zope.component as capi
-from zope.interface import implements
-
-class ParamProvider(KSSPlugin):
- '''The parameter provider plugin
- '''
-
- implements(IParamProvider)
-
- def __init__(self, name, jsfile):
- KSSPlugin.__init__(self, name, jsfile)
Modified: kukit/kss.zope/trunk/kss/zope/bbb/__init__.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/__init__.py
(original)
+++ kukit/kss.zope/trunk/kss/zope/bbb/__init__.py Sun Nov 11 12:09:31 2007
@@ -1,4 +1,2 @@
-'''\
-Module init
-'''
+#
Modified: kukit/kss.zope/trunk/kss/zope/bbb/configure.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/configure.py
(original)
+++ kukit/kss.zope/trunk/kss/zope/bbb/configure.py Sun Nov 11 12:09:31 2007
@@ -1,26 +1,10 @@
-import os.path
-from kss.core.pluginregistry.interfaces import ICommand
-from kss.core.pluginregistry.command import Command
-from kss.core.pluginregistry.plugin import registerPlugin
-from kss.core.deprecated import deprecated_directive
-from kss.core.pluginregistry import configure as _configure
+from deprecated import deprecated_directive
-def registerCommand(_context, name, jsfile=None):
- 'Directive that registers a command'
- # check to see if the file exists
- if jsfile is not None:
- file(jsfile, 'rb').close()
+def nothing(*arg, **ks):
+ pass
- _context.action(
- discriminator = ('registerKssCommand', name, jsfile),
- callable = registerPlugin,
- args = (Command, ICommand, name, jsfile),
- )
-registerCommand = deprecated_directive(registerCommand, 'azax:registerCommand',
- 'use kss:registerAction with command_factory="selector" or "global"')
-
-registerEventType = deprecated_directive(_configure.registerEventType,
'azax:registerEventType', 'use kss:registerEventType instead')
-registerAction = deprecated_directive(_configure.registerAction,
'azax:registerAction', 'use kss:registerAction instead')
-registerSelectorType = deprecated_directive(_configure.registerSelectorType,
'azax:registerSelectorType', 'use kss:registerSelectorType instead')
-registerCommandSet = deprecated_directive(_configure.registerCommandSet,
'azax:registerCommandSet', 'use kss:registerCommandSet instead')
+# XXX TODO more meaningful messages here?
+registerEventType = deprecated_directive(nothing, 'kss:eventtype', 'use python
level registry instead')
+registerAction = deprecated_directive(nothing, 'kss:action', 'use python level
registry instead')
+registerParamProvider = deprecated_directive(nothing, 'kss:paramprovider',
'use python level registry instead')
Modified: kukit/kss.zope/trunk/kss/zope/bbb/directives.py
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/directives.py
(original)
+++ kukit/kss.zope/trunk/kss/zope/bbb/directives.py Sun Nov 11 12:09:31 2007
@@ -1,14 +1,13 @@
from zope.interface import Interface
from zope.schema import TextLine, Choice
-from zope.configuration.fields import Path, Tokens, PythonIdentifier, \
- GlobalInterface
+from zope.configuration.fields import Path, Tokens, PythonIdentifier
-class IRegisterCommandDirective(Interface):
- 'Register a KSS command plugin'
+class IRegisterEventTypeDirective(Interface):
+ 'Register a KSS event type'
name = TextLine(
title=u"Name",
- description=u"The name of the command plugin.",
+ description=u"The name of the event type plugin.",
required=True,
)
@@ -18,6 +17,59 @@
required=False,
)
-from kss.core.pluginregistry.directives import IRegisterEventTypeDirective, \
- IRegisterActionDirective, IRegisterSelectorTypeDirective, \
- IRegisterCommandSetDirective
+class IRegisterActionDirective(Interface):
+ 'Register a KSS action'
+
+ name = TextLine(
+ title=u"Name",
+ description=u"The name of the action plugin.",
+ required=True,
+ )
+
+ jsfile = Path(
+ title=u"Javascript file",
+ description=u"The path of the javascript file that defines the
plugin",
+ required=False,
+ )
+
+ command_factory = Choice(
+ title=u"Command factory type",
+ description=u"Command factory type, by default 'none'.",
+ values=(u'none', u'global', u'selector'),
+ required=False,
+ )
+
+ params_mandatory = Tokens(
+ title=u"Mandatory parameters",
+ description=u"Space separated list of mandatory parameter names",
+ value_type=PythonIdentifier(),
+ required=False,
+ )
+
+ params_optional = Tokens(
+ title=u"Optional parameters",
+ description=u"Comma separated list of optional parameter names",
+ value_type=PythonIdentifier(),
+ required=False,
+ )
+
+ deprecated = TextLine(
+ title=u"Deprecated",
+ description=u"The hint that we should give as warning about
deprecation",
+ required=False,
+ )
+
+class IRegisterParamProviderDirective(Interface):
+ 'Register a KSS parameter provider'
+
+ name = TextLine(
+ title=u"Name",
+ description=u"The name of the parameter provider plugin.",
+ required=True,
+ )
+
+ jsfile = Path(
+ title=u"Javascript file",
+ description=u"The path of the javascript file that defines the
plugin",
+ required=False,
+ )
Modified: kukit/kss.zope/trunk/kss/zope/bbb/meta.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/core/pluginregistry/deprecated/meta.zcml
(original)
+++ kukit/kss.zope/trunk/kss/zope/bbb/meta.zcml Sun Nov 11 12:09:31 2007
@@ -1,38 +1,26 @@
<configure
xmlns="http://namespaces.zope.org/meta">
- <directives namespace="http://namespaces.zope.org/azax">
+ <directives namespace="http://namespaces.zope.org/kss">
<directive
- name="registerCommand"
- schema=".directives.IRegisterCommandDirective"
- handler=".configure.registerCommand"
- />
-
- <directive
- name="registerEventType"
+ name="eventtype"
schema=".directives.IRegisterEventTypeDirective"
handler=".configure.registerEventType"
/>
<directive
- name="registerAction"
+ name="action"
schema=".directives.IRegisterActionDirective"
handler=".configure.registerAction"
/>
<directive
- name="registerSelectorType"
- schema=".directives.IRegisterSelectorTypeDirective"
- handler=".configure.registerSelectorType"
+ name="paramprovider"
+ schema=".directives.IRegisterParamProviderDirective"
+ handler=".configure.registerParamProvider"
/>
- <directive
- name="registerCommandSet"
- schema=".directives.IRegisterCommandSetDirective"
- handler=".configure.registerCommandSet"
- />
-
</directives>
</configure>
Modified: kukit/kss.zope/trunk/kss/zope/configure.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/configure.zcml (original)
+++ kukit/kss.zope/trunk/kss/zope/configure.zcml Sun Nov 11 12:09:31 2007
@@ -2,6 +2,7 @@
xmlns:kss="http://namespaces.zope.org/kss"
>
+ <include package=".browser" />
<include package=".concatresource" />
<utility factory=".registry.GlobalPluginRegistry"
Modified: kukit/kss.zope/trunk/kss/zope/meta.zcml
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/meta.zcml (original)
+++ kukit/kss.zope/trunk/kss/zope/meta.zcml Sun Nov 11 12:09:31 2007
@@ -1,5 +1,6 @@
<configure xmlns="http://namespaces.zope.org/zope">
<include package=".concatresource" file="meta.zcml" />
+ <include package=".bbb" file="meta.zcml" />
</configure>
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins