* LogConverter.cs: stubbed
authorGert Driesen <drieseng@users.sourceforge.net>
Fri, 11 Jun 2004 09:38:14 +0000 (09:38 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Fri, 11 Jun 2004 09:38:14 +0000 (09:38 -0000)
* ProcessDesigner.cs: stubbed
* ProcessModuleDesigner.cs: stubbed
* ProcessThreadDesigner.cs: stubbed

svn path=/trunk/mcs/; revision=29299

mcs/class/System.Design/System.Diagnostics.Design/ChangeLog [new file with mode: 0644]
mcs/class/System.Design/System.Diagnostics.Design/LogConverter.cs [new file with mode: 0644]
mcs/class/System.Design/System.Diagnostics.Design/ProcessDesigner.cs [new file with mode: 0644]
mcs/class/System.Design/System.Diagnostics.Design/ProcessModuleDesigner.cs [new file with mode: 0644]
mcs/class/System.Design/System.Diagnostics.Design/ProcessThreadDesigner.cs [new file with mode: 0644]

diff --git a/mcs/class/System.Design/System.Diagnostics.Design/ChangeLog b/mcs/class/System.Design/System.Diagnostics.Design/ChangeLog
new file mode 100644 (file)
index 0000000..54d4873
--- /dev/null
@@ -0,0 +1,6 @@
+2004-06-11  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * LogConverter.cs: stubbed
+       * ProcessDesigner.cs: stubbed
+       * ProcessModuleDesigner.cs: stubbed
+       * ProcessThreadDesigner.cs: stubbed
diff --git a/mcs/class/System.Design/System.Diagnostics.Design/LogConverter.cs b/mcs/class/System.Design/System.Diagnostics.Design/LogConverter.cs
new file mode 100644 (file)
index 0000000..498656f
--- /dev/null
@@ -0,0 +1,48 @@
+//
+// System.Diagnostics.Design.LogConverter
+//
+// Authors:
+//      Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System.ComponentModel;
+using System.Globalization;
+
+namespace System.Diagnostics.Design
+{
+       public class LogConverter : TypeConverter
+       {
+               public LogConverter ()
+               {
+               }
+
+               public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType)
+               {
+                       if (sourceType == typeof(string))
+                               return true;
+
+                       return base.CanConvertFrom (context, sourceType);
+               }
+
+               public override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value)
+               {
+                       if ((value as string) != null)
+                               return ((string) value).Trim ();
+
+                       return base.ConvertFrom (context, culture, value);
+               }
+
+               [MonoTODO]
+               public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override bool GetStandardValuesSupported (ITypeDescriptorContext context)
+               {
+                       return true;
+               }
+       }
+}
diff --git a/mcs/class/System.Design/System.Diagnostics.Design/ProcessDesigner.cs b/mcs/class/System.Design/System.Diagnostics.Design/ProcessDesigner.cs
new file mode 100644 (file)
index 0000000..4737025
--- /dev/null
@@ -0,0 +1,27 @@
+//
+// System.Diagnostics.Design.ProcessDesigner
+//
+// Authors:
+//      Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System.Collections;
+using System.ComponentModel.Design;
+
+namespace System.Diagnostics.Design
+{
+       public class ProcessDesigner : ComponentDesigner
+       {
+               public ProcessDesigner ()
+               {
+               }
+
+               [MonoTODO]
+               protected override void PreFilterProperties (IDictionary properties)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
diff --git a/mcs/class/System.Design/System.Diagnostics.Design/ProcessModuleDesigner.cs b/mcs/class/System.Design/System.Diagnostics.Design/ProcessModuleDesigner.cs
new file mode 100644 (file)
index 0000000..3e5f036
--- /dev/null
@@ -0,0 +1,27 @@
+//
+// System.Diagnostics.Design.ProcessModuleDesigner
+//
+// Authors:
+//      Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System.Collections;
+using System.ComponentModel.Design;
+
+namespace System.Diagnostics.Design
+{
+       public class ProcessModuleDesigner : ComponentDesigner
+       {
+               public ProcessModuleDesigner ()
+               {
+               }
+
+               [MonoTODO]
+               protected override void PreFilterProperties (IDictionary properties)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
diff --git a/mcs/class/System.Design/System.Diagnostics.Design/ProcessThreadDesigner.cs b/mcs/class/System.Design/System.Diagnostics.Design/ProcessThreadDesigner.cs
new file mode 100644 (file)
index 0000000..b8a0edd
--- /dev/null
@@ -0,0 +1,27 @@
+//
+// System.Diagnostics.Design.ProcessThreadDesigner
+//
+// Authors:
+//      Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System.Collections;
+using System.ComponentModel.Design;
+
+namespace System.Diagnostics.Design
+{
+       public class ProcessThreadDesigner : ComponentDesigner
+       {
+               public ProcessThreadDesigner ()
+               {
+               }
+
+               [MonoTODO]
+               protected override void PreFilterProperties (IDictionary properties)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}