Author: atsushi
Date: 2007-09-28 06:29:40 -0400 (Fri, 28 Sep 2007)
New Revision: 86563

Added:
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/ExceptionCollection.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerDebugService.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerStateService.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedType.cs
   trunk/mcs/class/System.Design/System.ComponentModel.Design/UndoEngine.cs
Modified:
   trunk/mcs/class/System.Design/ChangeLog
   trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
   trunk/mcs/class/System.Design/System.ComponentModel.Design/DisplayMode.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/InheritanceService.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/LocalizationExtenderProvider.cs
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/ObjectSelectorEditor.cs
   trunk/mcs/class/System.Design/System.Design.dll.sources
Log:
2007-09-28  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * ExceptionCollection.cs, IComponentDesignerDebugService.cs,
          IComponentDesignerStateService.cs,
          MenuCommandsChangedEventArgs.cs,
          MenuCommandsChangedEventHandler.cs,
          MenuCommandsChangedType.cs : more 2.0 impl.
        * MenuCommandService.cs, UndoEngine.cs : more 2.0 stubs.
        * DisplayMode.cs, InheritanceService.cs,
          LocalizationExtenderProvider.cs, ObjectSelectorEditor.cs:
          cosmetic 2.0 API fixes.



Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog     2007-09-28 10:23:25 UTC (rev 
86562)
+++ trunk/mcs/class/System.Design/ChangeLog     2007-09-28 10:29:40 UTC (rev 
86563)
@@ -1,6 +1,14 @@
 2007-09-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * System.Design.dll.sources : more new types:
+         IComponentDesignerStateService.cs, MenuCommandsChangedEventArgs.cs,
+         MenuCommandsChangedType.cs, ExceptionCollection.cs,
+         IComponentDesignerDebugService.cs, MenuCommandService.cs,
+         UndoEngine.cs, MenuCommandsChangedEventHandler.cs.
+
+2007-09-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * System.Design.dll.sources : more new types:
          DesignerActionUIService.cs, DesignerCommandSet.cs,
          DesignerActionUIStateChangeEventArgs.cs,
          DesignerActionUIStateChangeEventHandler.cs,

Modified: trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog        
2007-09-28 10:23:25 UTC (rev 86562)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog        
2007-09-28 10:29:40 UTC (rev 86563)
@@ -1,5 +1,17 @@
 2007-09-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * ExceptionCollection.cs, IComponentDesignerDebugService.cs,
+         IComponentDesignerStateService.cs,
+         MenuCommandsChangedEventArgs.cs,
+         MenuCommandsChangedEventHandler.cs,
+         MenuCommandsChangedType.cs : more 2.0 impl.
+       * MenuCommandService.cs, UndoEngine.cs : more 2.0 stubs.
+       * DisplayMode.cs, InheritanceService.cs,
+         LocalizationExtenderProvider.cs, ObjectSelectorEditor.cs:
+         cosmetic 2.0 API fixes.
+
+2007-09-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * DesignerActionUIStateChangeEventArgs.cs,
          DesignerActionUIStateChangeEventHandler.cs,
          DesignerActionUIStateChangeType.cs : more 2.0 impl.

Modified: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/DisplayMode.cs
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/DisplayMode.cs   
2007-09-28 10:23:25 UTC (rev 86562)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/DisplayMode.cs   
2007-09-28 10:29:40 UTC (rev 86563)
@@ -30,7 +30,9 @@
 
 namespace System.ComponentModel.Design
 {
+#if !NET_2_0
        [Serializable]
+#endif
         public enum DisplayMode
        {
                Ansi = 2,

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ExceptionCollection.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ExceptionCollection.cs
   2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ExceptionCollection.cs
   2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,60 @@
+//
+// System.ComponentModel.Design.ExceptionCollection.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+using System;
+using System.Collections;
+using System.Runtime.Serialization;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       public sealed class ExceptionCollection : Exception
+       {
+               ArrayList exceptions;
+
+               [MonoTODO]
+               public ExceptionCollection (ArrayList exceptions)
+               {
+                       this.exceptions = exceptions;
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void GetObjectData (SerializationInfo info, 
StreamingContext context)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public ArrayList Exceptions {
+                       get { return exceptions; }
+               }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ExceptionCollection.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerDebugService.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerDebugService.cs
        2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerDebugService.cs
        2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,44 @@
+//
+// System.ComponentModel.Design.IComponentDesignerDebugService.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+using System.Diagnostics;
+
+namespace System.ComponentModel.Design
+{
+       public interface IComponentDesignerDebugService
+       {
+               void Assert (bool condition, string message);
+               void Fail (string message);
+               void Trace (string message, string category);
+               int IndentLevel { get; set; }
+               TraceListenerCollection Listeners { get; }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerDebugService.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerStateService.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerStateService.cs
        2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerStateService.cs
        2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,40 @@
+//
+// System.ComponentModel.Design.IComponentDesignerStateService.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+
+namespace System.ComponentModel.Design
+{
+       public interface IComponentDesignerStateService
+       {
+               object GetState (IComponent component, string key);
+               void SetState (IComponent component, string key, object value);
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/IComponentDesignerStateService.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/InheritanceService.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/InheritanceService.cs
    2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/InheritanceService.cs
    2007-09-28 10:29:40 UTC (rev 86563)
@@ -60,7 +60,15 @@
                        throw new NotImplementedException();
                }
 
+#if NET_2_0
                [MonoTODO]
+               protected virtual void Dispose (bool disposing)
+               {
+                       throw new NotImplementedException();
+               }
+#endif
+
+               [MonoTODO]
                public InheritanceAttribute GetInheritanceAttribute (IComponent 
component)
                {
                        throw new NotImplementedException();

Modified: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/LocalizationExtenderProvider.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/LocalizationExtenderProvider.cs
  2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/LocalizationExtenderProvider.cs
  2007-09-28 10:29:40 UTC (rev 86563)
@@ -32,6 +32,9 @@
 
 namespace System.ComponentModel.Design
 {
+#if NET_2_0
+       [Obsolete ("use CodeDomLocalizationProvider")]
+#endif
        [ProvideProperty("Localizable", typeof(object))]
        [ProvideProperty("Language", typeof(object))]
        [ProvideProperty("LoadLanguage", typeof(object))]
@@ -55,7 +58,15 @@
                        throw new NotImplementedException();
                }
 
+#if NET_2_0
                [MonoTODO]
+               protected virtual void Dispose (bool disposing)
+               {
+                       throw new NotImplementedException();
+               }
+#endif
+
+               [MonoTODO]
                [Localizable (true)]
                [DesignOnly (true)]
                public CultureInfo GetLanguage (object o)

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
    2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
    2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,140 @@
+//
+// System.ComponentModel.Design.MenuCommandService.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+using System;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+       public class MenuCommandService : IMenuCommandService, IDisposable
+       {
+               [MonoTODO]
+               public MenuCommandService (IServiceProvider serviceProvider)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public event MenuCommandsChangedEventHandler 
MenuCommandsChanged;
+
+               [MonoTODO]
+               public virtual DesignerVerbCollection Verbs {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public virtual void AddCommand (MenuCommand command)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public virtual void AddVerb (DesignerVerb verb)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public void Dispose ()
+               {
+                       Dispose (true);
+               }
+
+               [MonoTODO]
+               protected virtual void Dispose (bool disposing)
+               {
+               }
+
+               [MonoTODO]
+               protected void EnsureVerbs ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public MenuCommand FindCommand (CommandID commandID)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected MenuCommand FindCommand (Guid guid, int id)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected ICollection GetCommandList (Guid guid)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected object GetService (Type serviceType)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public virtual bool GlobalInvoke (CommandID commandID)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public virtual bool GlobalInvoke (CommandID commandID, object 
arg)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               protected virtual void OnCommandsChanged 
(MenuCommandsChangedEventArgs e)
+               {
+                       if (MenuCommandsChanged != null)
+                               MenuCommandsChanged (this, e);
+               }
+
+               [MonoTODO]
+               public virtual void RemoveCommand (MenuCommand command)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public virtual void RemoveVerb (DesignerVerb verb)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public virtual void ShowContextMenu (CommandID menuID, int x, 
int y)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
  2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
  2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,55 @@
+//
+// System.ComponentModel.Design.MenuCommandsChangedEventArgs.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+
+namespace System.ComponentModel.Design
+{
+       [System.Runtime.InteropServices.ComVisible (true)]
+       public class MenuCommandsChangedEventArgs : EventArgs
+       {
+               MenuCommandsChangedType change_type;
+               MenuCommand command;
+
+               public MenuCommandsChangedEventArgs (MenuCommandsChangedType 
changeType, MenuCommand command)
+               {
+                       this.change_type = changeType;
+                       this.command = command;
+               }
+
+               public MenuCommandsChangedType ChangeType {
+                       get { return change_type; }
+               }
+
+               public MenuCommand Command {
+                       get { return command; }
+               }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
       2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
       2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,37 @@
+//
+// System.ComponentModel.Design.MenuCommandsChangedEventHandler.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+
+namespace System.ComponentModel.Design
+{
+       [System.Runtime.InteropServices.ComVisible (true)]
+       public delegate void MenuCommandsChangedEventHandler (object sender, 
MenuCommandsChangedEventArgs e);
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedType.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedType.cs
       2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedType.cs
       2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,42 @@
+//
+// System.ComponentModel.Design.MenuCommandsChangedType.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+
+namespace System.ComponentModel.Design
+{
+       [System.Runtime.InteropServices.ComVisible (true)]
+       public enum MenuCommandsChangedType
+       {
+               CommandAdded,
+               CommandRemoved,
+               CommandChanged
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/MenuCommandsChangedType.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ObjectSelectorEditor.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ObjectSelectorEditor.cs
  2007-09-28 10:23:25 UTC (rev 86562)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ObjectSelectorEditor.cs
  2007-09-28 10:29:40 UTC (rev 86563)
@@ -114,7 +114,15 @@
                                throw new NotImplementedException ();
                        }
 
+#if NET_2_0
                        [MonoTODO]
+                       protected override void OnNodeMouseClick 
(TreeNodeMouseClickEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+#endif
+
+                       [MonoTODO]
                        public bool SetSelection (object value, 
TreeNodeCollection nodes)
                        {
                                throw new NotImplementedException ();

Added: trunk/mcs/class/System.Design/System.ComponentModel.Design/UndoEngine.cs
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/UndoEngine.cs    
2007-09-28 10:23:25 UTC (rev 86562)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/UndoEngine.cs    
2007-09-28 10:29:40 UTC (rev 86563)
@@ -0,0 +1,206 @@
+//
+// System.ComponentModel.Design.UndoEngine.cs
+//
+// Author:
+//      Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+
+using System;
+using System.ComponentModel;
+
+namespace System.ComponentModel.Design
+{
+       public abstract class UndoEngine : IDisposable
+       {
+               [MonoTODO]
+               protected UndoEngine (IServiceProvider provider)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public event EventHandler Undoing;
+               public event EventHandler Undone;
+
+               [MonoTODO]
+               public bool Enabled {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public bool UndoInProgress {
+                       get { throw new NotImplementedException (); }
+               }
+
+               protected abstract void AddUndoUnit (UndoEngine.UndoUnit unit);
+
+               [MonoTODO]
+               protected virtual UndoEngine.UndoUnit CreateUndoUnit (string 
name, bool primary)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected virtual void DiscardUndoUnit (UndoEngine.UndoUnit 
unit)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public void Dispose ()
+               {
+                       Dispose (true);
+               }
+
+               [MonoTODO]
+               protected virtual void Dispose (bool disposing)
+               {
+               }
+
+               [MonoTODO]
+               protected object GetRequiredService (Type serviceType)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected object GetService (Type serviceType)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected virtual void OnUndoing (EventArgs e)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected virtual void OnUndone (EventArgs e)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               protected class UndoUnit
+               {
+                       UndoEngine engine;
+                       string name;
+
+                       [MonoTODO]
+                       public UndoUnit (UndoEngine engine, string name)
+                       {
+                               this.engine = engine;
+                               this.name = name;
+                       }
+
+                       protected UndoEngine UndoEngine {
+                               get { return engine; }
+                       }
+
+                       [MonoTODO]
+                       public virtual bool IsEmpty {
+                               get { throw new NotImplementedException (); }
+                       }
+
+                       public virtual string Name {
+                               get { return name; }
+                       }
+
+                       [MonoTODO]
+                       public virtual void Close ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentAdded (ComponentEventArgs 
e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentAdding (ComponentEventArgs 
e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentChanged 
(ComponentEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentChanging 
(ComponentEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentRemoved 
(ComponentEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentRemoving 
(ComponentEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public virtual void ComponentRename 
(ComponentRenameEventArgs e)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       protected object GetService (Type serviceType)
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       public override string ToString ()
+                       {
+                               return base.ToString ();
+                       }
+
+                       [MonoTODO]
+                       public void Undo ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       protected virtual void UndoCore ()
+                       {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/UndoEngine.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources     2007-09-28 
10:23:25 UTC (rev 86562)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources     2007-09-28 
10:29:40 UTC (rev 86563)
@@ -39,17 +39,25 @@
 System.ComponentModel.Design/DesignSurfaceManager.cs
 System.ComponentModel.Design/DesignSurfaceServiceContainer.cs
 System.ComponentModel.Design/DisplayMode.cs
+System.ComponentModel.Design/ExceptionCollection.cs
 System.ComponentModel.Design/EventBindingService.cs
 System.ComponentModel.Design/ExtenderService.cs
+System.ComponentModel.Design/IComponentDesignerDebugService.cs
+System.ComponentModel.Design/IComponentDesignerStateService.cs
 System.ComponentModel.Design/InheritanceService.cs
 System.ComponentModel.Design/LoadedEventArgs.cs
 System.ComponentModel.Design/LoadedEventHandler.cs
 System.ComponentModel.Design/LocalizationExtenderProvider.cs
+System.ComponentModel.Design/MenuCommandService.cs
+System.ComponentModel.Design/MenuCommandsChangedEventArgs.cs
+System.ComponentModel.Design/MenuCommandsChangedEventHandler.cs
+System.ComponentModel.Design/MenuCommandsChangedType.cs
 System.ComponentModel.Design/MultilineStringEditor.cs
 System.ComponentModel.Design/ObjectSelectorEditor.cs
 System.ComponentModel.Design/ReferenceService.cs
 System.ComponentModel.Design/SelectionService.cs
 System.ComponentModel.Design/TypeDescriptorFilterService.cs
+System.ComponentModel.Design/UndoEngine.cs
 System.ComponentModel.Design.Serialization/BasicDesignerLoader.cs
 
System.ComponentModel.Design.Serialization/CodeDomComponentSerializationService.cs
 System.ComponentModel.Design.Serialization/CodeDomDesignerLoader.cs

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

Reply via email to