[CMF-checkins] CVS: CMF/CMFWorkspaces - Workspace.py:1.3

Shane Hathaway shane@cvs.zope.org
Fri, 24 May 2002 15:22:38 -0400


Update of /cvs-repository/CMF/CMFWorkspaces
In directory cvs.zope.org:/tmp/cvs-serv19159

Modified Files:
	Workspace.py 
Log Message:
Gave workspaces metadata.


=== CMF/CMFWorkspaces/Workspace.py 1.2 => 1.3 ===
 from AccessControl import ClassSecurityInfo
 from Products.CMFCore import CMFCorePermissions, PortalContent
+from Products.CMFDefault.DublinCore import DefaultDublinCoreImpl
 
 from References import ReferenceCollection
 
@@ -70,12 +71,18 @@
         'permissions'   : (CMFCorePermissions.View,),
         'category'      : 'object',
         },
+       {'id'            : 'metadata',
+        'name'          : 'Metadata',
+        'action'        : 'metadata_edit_form',
+        'permissions'   : (CMFCorePermissions.View,),
+        'category'      : 'object',
+        },       
        )
       },
     )
 
 
-class Workspace (PortalContent.PortalContent):
+class Workspace (PortalContent.PortalContent, DefaultDublinCoreImpl):
     __doc__ = __doc__                   # Use the module docstring.
 
     meta_type = 'Workspace'