[Zope3-checkins] CVS: Zope3/src/zope/app/component -
configure.zcml:1.15 interfacefield.py:NONE interfaces.py:NONE
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Apr 24 19:20:02 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv30060/src/zope/app/component
Modified Files:
configure.zcml
Removed Files:
interfacefield.py interfaces.py
Log Message:
Removed InterfaceField and InterfaceWidget. We can now use Choice, Sequence
and a vocabulary instead. Yipee! This was an old wart of mine for a long time.
=== Zope3/src/zope/app/component/configure.zcml 1.14 => 1.15 ===
--- Zope3/src/zope/app/component/configure.zcml:1.14 Sun Apr 11 14:16:23 2004
+++ Zope3/src/zope/app/component/configure.zcml Sat Apr 24 19:19:31 2004
@@ -1,37 +1,50 @@
<configure
xmlns="http://namespaces.zope.org/zope"
- package="zope.component"
- i18n_domain="zope"
>
-<serviceType id="Utilities"
- interface="zope.component.interfaces.IUtilityService" />
-<service serviceType="Utilities"
- permission="zope.Public"
- factory="zope.component.utility.GlobalUtilityService" />
-
-<serviceType id="Adapters"
- interface="zope.component.interfaces.IAdapterService" />
-<service serviceType="Adapters"
- permission="zope.Public"
- factory="zope.component.adapter.GlobalAdapterService" />
-
-<serviceType id="Presentation"
- interface="zope.component.interfaces.IPresentationService" />
-<service serviceType="Presentation"
- permission="zope.Public"
- factory="zope.component.presentation.GlobalPresentationService" />
-
-
-<hook module="zope.component"
+ <serviceType
+ id="Utilities"
+ interface="zope.component.interfaces.IUtilityService" />
+
+ <service
+ serviceType="Utilities"
+ permission="zope.Public"
+ factory="zope.component.utility.GlobalUtilityService" />
+
+ <serviceType
+ id="Adapters"
+ interface="zope.component.interfaces.IAdapterService" />
+
+ <service
+ serviceType="Adapters"
+ permission="zope.Public"
+ factory="zope.component.adapter.GlobalAdapterService" />
+
+ <serviceType
+ id="Presentation"
+ interface="zope.component.interfaces.IPresentationService" />
+
+ <service
+ serviceType="Presentation"
+ permission="zope.Public"
+ factory="zope.component.presentation.GlobalPresentationService" />
+
+ <vocabulary
+ name="Interfaces"
+ factory="zope.app.utility.vocabulary.UtilityVocabulary"
+ interface="zope.interface.interfaces.IInterface" />
+
+ <hook
+ module="zope.component"
name="getServiceManager"
implementation="zope.app.component.hooks.getServiceManager_hook" />
-
-<hook module="zope.component"
+
+ <hook
+ module="zope.component"
name="queryView"
implementation="zope.app.component.hooks.queryView" />
-
-<interface interface="zope.interface.Interface" />
+
+ <interface interface="zope.interface.Interface" />
</configure>
=== Removed File Zope3/src/zope/app/component/interfacefield.py ===
=== Removed File Zope3/src/zope/app/component/interfaces.py ===
More information about the Zope3-Checkins
mailing list