Author: jackson
Date: 2005-03-07 18:32:01 -0500 (Mon, 07 Mar 2005)
New Revision: 41542

Modified:
   trunk/mcs/class/System.Data/System.Data/ChangeLog
   
trunk/mcs/class/System.Data/System.Data/DataViewManagerListItemTypeDescriptor.cs
Log:
        * DataViewManagerListItemTypeDescriptor.cs: Implement missing
        features. These are needed for System.Windows.Forms databinding.



Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-03-07 21:55:44 UTC 
(rev 41541)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-03-07 23:32:01 UTC 
(rev 41542)
@@ -1,3 +1,8 @@
+2005-03-07  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * DataViewManagerListItemTypeDescriptor.cs: Implement missing
+       features. These are needed for System.Windows.Forms databinding.
+
 2005-02-25  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * DataColumn.cs : setting negative value on MaxLength of SimpleContent

Modified: 
trunk/mcs/class/System.Data/System.Data/DataViewManagerListItemTypeDescriptor.cs
===================================================================
--- 
trunk/mcs/class/System.Data/System.Data/DataViewManagerListItemTypeDescriptor.cs
    2005-03-07 21:55:44 UTC (rev 41541)
+++ 
trunk/mcs/class/System.Data/System.Data/DataViewManagerListItemTypeDescriptor.cs
    2005-03-07 23:32:01 UTC (rev 41542)
@@ -3,8 +3,10 @@
 //
 // Authors:
 //     Gonzalo Paniagua Javier ([EMAIL PROTECTED])
+//      Jackson Harper  ([EMAIL PROTECTED])
 //
 // (C) 2002 Ximian, Inc (http://www.ximian.com)
+// (C) 2005 Novell, Inc (http://www.novell.com)
 //
 
 //
@@ -54,55 +56,47 @@
                        return new AttributeCollection (null);
                }
 
-               [MonoTODO]
                string ICustomTypeDescriptor.GetClassName ()
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                string ICustomTypeDescriptor.GetComponentName ()
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                TypeConverter ICustomTypeDescriptor.GetConverter ()
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ()
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ()
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                object ICustomTypeDescriptor.GetEditor (Type editorBaseType)
                {
-                       throw new NotImplementedException ();
+                       return null;
                }
 
-               [MonoTODO]
                EventDescriptorCollection ICustomTypeDescriptor.GetEvents ()
                {
-                       throw new NotImplementedException ();
+                       return new EventDescriptorCollection (null);
                }
 
-               [MonoTODO]
                EventDescriptorCollection ICustomTypeDescriptor.GetEvents 
(System.Attribute[] attributes)
                {
-                       throw new NotImplementedException ();
+                       return new EventDescriptorCollection (null);
                }
 
-               PropertyDescriptorCollection 
ICustomTypeDescriptor.GetProperties ()
+               public PropertyDescriptorCollection GetProperties ()
                {
                        DataSet ds = dvm.DataSet;
                        if (ds == null)
@@ -117,16 +111,14 @@
                        return new PropertyDescriptorCollection (descriptors);
                }
 
-               [MonoTODO]
                PropertyDescriptorCollection 
ICustomTypeDescriptor.GetProperties (System.Attribute[] attributes)
                {
-                       throw new NotImplementedException ();
+                       return this.GetProperties ();
                }
 
-               [MonoTODO]
                object ICustomTypeDescriptor.GetPropertyOwner 
(PropertyDescriptor pd)
                {
-                       throw new NotImplementedException ();
+                       return this;
                }
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to