Commit by: john
Modified files:
chandler/parcels/osaf/contentmodel/parcel.xml 1.96 1.97
chandler/parcels/osaf/views/main/SideBar.py 1.39 1.40

Log message:
* Added source and destination attributes on ItemCollection for Katie.

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/parcel.xml.diff?r1=text&tr1=1.96&r2=text&tr2=1.97
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/main/SideBar.py.diff?r1=text&tr1=1.39&r2=text&tr2=1.40

Index: chandler/parcels/osaf/contentmodel/parcel.xml
diff -u chandler/parcels/osaf/contentmodel/parcel.xml:1.96 
chandler/parcels/osaf/contentmodel/parcel.xml:1.97
--- chandler/parcels/osaf/contentmodel/parcel.xml:1.96  Thu Mar  3 18:03:05 2005
+++ chandler/parcels/osaf/contentmodel/parcel.xml       Tue Mar  8 11:59:24 2005
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
 <!-- Parcel manifest for Pim Schema -->
-<!-- $Revision: 1.96 $ -->
-<!-- $Date: 2005/03/04 02:03:05 $ -->
+<!-- $Revision: 1.97 $ -->
+<!-- $Date: 2005/03/08 19:59:24 $ -->
 <!-- Copyright (c) 2003-2004 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -323,6 +323,18 @@
       <type itemref="Boolean"/>
     </Attribute>
 
+    <Attribute itsName="source">
+      <type itemref="cm:ItemCollection"/>
+      <inverseAttribute itemref="cm:ItemCollection/destination"/>
+    </Attribute>
+  
+    <Attribute itsName="destination">
+      <type itemref="cm:ItemCollection"/>
+      <cardinality>list</cardinality>
+      <inverseAttribute itemref="cm:ItemCollection/source"/>
+      <cardinality>list</cardinality>
+    </Attribute>
+
     <Attribute itsName="shares">
       <type itemref="share:Share"/>
       <cardinality value="list" />

Index: chandler/parcels/osaf/views/main/SideBar.py
diff -u chandler/parcels/osaf/views/main/SideBar.py:1.39 
chandler/parcels/osaf/views/main/SideBar.py:1.40
--- chandler/parcels/osaf/views/main/SideBar.py:1.39    Thu Mar  3 18:03:03 2005
+++ chandler/parcels/osaf/views/main/SideBar.py Tue Mar  8 11:59:24 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.39 $"
-__date__ = "$Date: 2005/03/04 02:03:03 $"
+__version__ = "$Revision: 1.40 $"
+__date__ = "$Date: 2005/03/08 19:59:24 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm";
 
@@ -128,6 +128,7 @@
                       ItemCollection change we don't update our copied rule.   
                   
                     """
                     key = ItemCollection.ItemCollection (view=self.itsView)
+                    key.source = item
                     key._rule = item._rule
                     key.inclusions = item.inclusions
                     key.exclusions = item.exclusions

_______________________________________________
Commits mailing list
Commits@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to