[Zope-CVS] CVS: Products/AdaptableStorage - __init__.py:1.2

Shane Hathaway shane@cvs.zope.org
Thu, 18 Jul 2002 22:05:42 -0400


Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv12836

Modified Files:
	__init__.py 
Log Message:
Added a simple addable type: "filesystem mount point".  It really works!
(though I've done only limited testing.)


=== Products/AdaptableStorage/__init__.py 1.1.1.1 => 1.2 ===
 
     from Products.AdaptableStorage.ZMI import \
          DatabaseModel, ObjectModel, Aspects, Tables, DatabaseMountPoint, \
-         ObjectModelSelector, FSConnection, FSTables
+         ObjectModelSelector, FSConnection, FSTables, FSMountPoint
     from boilerplate import reg
 
     context.registerClass(
@@ -40,6 +40,12 @@
         DatabaseMountPoint.DatabaseMountPoint, constructors=(
         DatabaseMountPoint.manage_addDatabaseMountPointForm,
         DatabaseMountPoint.manage_addDatabaseMountPoint,)
+        )
+
+    context.registerClass(
+        FSMountPoint.FilesystemMountPoint, constructors=(
+        FSMountPoint.manage_addFilesystemMountPointForm,
+        FSMountPoint.manage_addFilesystemMountPoint,)
         )
 
     reg(context, ObjectModel.ObjectModel, 'objectmodel.gif')