[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content -
folder.py:1.5
Jim Fulton
jim at zope.com
Tue Sep 2 17:47:17 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv16881/src/zope/app/interfaces/content
Modified Files:
folder.py
Log Message:
Added ISite, which is a marker interface indicating that an object is
a site.
When an object is made into a site, ISite is declared for it.
Change to test whether something is a site by testing whether
it (declares it) implements ISite.
=== Zope3/src/zope/app/interfaces/content/folder.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/interfaces/content/folder.py:1.4 Sun Mar 30 10:37:28 2003
+++ Zope3/src/zope/app/interfaces/content/folder.py Tue Sep 2 16:46:47 2003
@@ -19,11 +19,11 @@
from zope.app.interfaces.container import IAdding
from zope.app.interfaces.traversing import IContainmentRoot
from zope.app.interfaces.container import IContainer
-from zope.app.interfaces.services.service import IServiceManagerContainer
+from zope.app.interfaces.services.service import IPossibleSite
from zope.interface import Interface
from zope.app.interfaces.annotation import IAttributeAnnotatable
-class IFolder(IContainer, IServiceManagerContainer, IAttributeAnnotatable):
+class IFolder(IContainer, IPossibleSite, IAttributeAnnotatable):
"""The standard Zope Folder object interface."""
class IRootFolder(IFolder, IContainmentRoot):
More information about the Zope3-Checkins
mailing list