[Zope3-checkins] CVS: Zope3/src/zope/app/content - configure.zcml:1.29

Jim Fulton jim at zope.com
Sun Sep 21 13:31:48 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv13495/src/zope/app/content

Modified Files:
	configure.zcml 
Log Message:
Got rid of the RootFolder class.

Got rid of the "source" and "target" adapters.


=== Zope3/src/zope/app/content/configure.zcml 1.28 => 1.29 ===
--- Zope3/src/zope/app/content/configure.zcml:1.28	Tue Sep  2 16:46:46 2003
+++ Zope3/src/zope/app/content/configure.zcml	Sun Sep 21 13:31:47 2003
@@ -50,13 +50,6 @@
    />
 
 <adapter
-   for="zope.app.interfaces.content.folder.IRootFolder"
-   provides="zope.app.interfaces.file.IDirectoryFactory"
-   factory="zope.app.content.folder.RootDirectoryFactory"
-   permission="zope.ManageContent"
-   />
-
-<adapter
    for="zope.app.interfaces.content.folder.IFolder"
    provides="zope.app.interfaces.file.IFileFactory"
    factory="zope.app.content.image.FileFactory"
@@ -76,55 +69,6 @@
      properly handle copy/cut/paste accross container types
   -->
 
-<adapter
-   provides="zope.app.interfaces.container.ICopySource"
-   for="zope.app.interfaces.content.folder.IFolder"
-   permission="zope.ManageContent"
-   factory="zope.app.container.copypastemove.CopySource"
-   />
-
-<adapter
-   provides="zope.app.interfaces.container.INoChildrenCopySource"
-   for="zope.app.interfaces.content.folder.IFolder"
-   permission="zope.ManageContent"
-   factory="zope.app.container.copypastemove.NoChildrenCopySource"
-   />
-
-<adapter
-   provides="zope.app.interfaces.container.IMoveSource"
-   for="zope.app.interfaces.content.folder.IFolder"
-   permission="zope.ManageContent"
-   factory="zope.app.container.copypastemove.MoveSource"
-   />
-
-<adapter
-   provides="zope.app.interfaces.container.IPasteTarget"
-   for="zope.app.interfaces.content.folder.IFolder"
-   permission="zope.ManageContent"
-   factory="zope.app.container.copypastemove.PasteTarget"
-   />
-
-<adapter
-   provides="zope.app.interfaces.container.IPasteNamesChooser"
-   for="zope.app.interfaces.content.folder.IFolder"
-   permission="zope.ManageContent"
-   factory="zope.app.container.copypastemove.PasteNamesChooser"
-   />
-
-<!-- XXX Do we really need RootFolder? -->
-
-<content class="zope.app.content.folder.RootFolder">
-
-  <implements interface="zope.app.interfaces.container.IContentContainer" />
-
-  <require like_class="zope.app.content.folder.Folder" />
-
-  <implements
-     interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
-     />
-
-</content>
-
 <permission
     id="zope.AddImages"
     title="[add-images-permission] Add Images"
@@ -427,8 +371,6 @@
 <fssync:adapter class=".image.Image" factory=".fssync.FileAdapter" />
 
 <fssync:adapter class=".folder.Folder" factory=".folder.FolderAdapter" />
-
-<fssync:adapter class=".folder.RootFolder" factory=".folder.FolderAdapter" />
 
 <fssync:adapter class=".zpt.ZPTPage" factory=".fssync.ZPTPageAdapter" />
 




More information about the Zope3-Checkins mailing list