[Zope3-checkins] CVS: Zope3/src/zope/app/presentation -
pagefolder.py:1.4
Jim Fulton
jim at zope.com
Sat Apr 17 11:13:42 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/presentation
In directory cvs.zope.org:/tmp/cvs-serv26480/src/zope/app/presentation
Modified Files:
pagefolder.py
Log Message:
Renamed (I)RegistrationManagerContainer to (I)RegisterableContainer.
=== Zope3/src/zope/app/presentation/pagefolder.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/presentation/pagefolder.py:1.3 Mon Mar 15 08:10:53 2004
+++ Zope3/src/zope/app/presentation/pagefolder.py Sat Apr 17 11:13:10 2004
@@ -27,13 +27,13 @@
from zope.fssync.server.entryadapter import ObjectEntryAdapter, AttrMapping
from zope.app.registration.interfaces import ActiveStatus
from zope.app.registration.interfaces import IRegistrationManager
-from zope.app.registration.interfaces import IRegistrationManagerContainer
+from zope.app.registration.interfaces import IRegisterableContainer
from zope.app.registration.interfaces import RegisteredStatus
from zope.app.registration.interfaces import UnregisteredStatus
from zope.app.registration.interfaces import IRegisterable
from zope.app.container.constraints import ItemTypePrecondition
from zope.app.presentation import PageRegistration
-from zope.app.registration.registration import RegistrationManagerContainer
+from zope.app.registration.registration import RegisterableContainer
from zope.app.container.constraints import ContainerTypesConstraint
from zpt import IZPTTemplate
from zope.app.traversing import getPath
@@ -43,7 +43,7 @@
from zope.app.container.interfaces import IContainer
from zope.app.filerepresentation.interfaces import IDirectoryFactory
from zope.fssync.server.interfaces import IObjectDirectory
-from zope.app.registration.interfaces import IRegistrationManagerContainer
+from zope.app.registration.interfaces import IRegisterableContainer
class IPageFolderInfo(Interface):
"""Default registration information for page folders
@@ -81,7 +81,7 @@
required = True,
)
-class IPageFolder(IPageFolderInfo, IContainer, IRegistrationManagerContainer):
+class IPageFolder(IPageFolderInfo, IContainer, IRegisterableContainer):
def applyDefaults(self):
"""Apply the default configuration to the already-registered pages.
@@ -94,10 +94,10 @@
__setitem__.precondition = ItemTypePrecondition(IZPTTemplate)
__parent__ = Field(
- constraint = ContainerTypesConstraint(IRegistrationManagerContainer))
+ constraint = ContainerTypesConstraint(IRegisterableContainer))
-class PageFolder(RegistrationManagerContainer, BTreeContainer):
+class PageFolder(RegisterableContainer, BTreeContainer):
implements(IPageFolder)
More information about the Zope3-Checkins
mailing list