* Stubed System.ComponentModel/LicenseContext.cs
authorMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>
Sat, 29 Mar 2003 17:37:15 +0000 (17:37 -0000)
committerMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>
Sat, 29 Mar 2003 17:37:15 +0000 (17:37 -0000)
        * Stubed System.ComponentModel/LicenseUsageMode.cs
        * Stubed rest of System.ComponentModel.Design

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

38 files changed:
mcs/class/System/ChangeLog
mcs/class/System/System.ComponentModel.Design/CheckoutException.cs
mcs/class/System/System.ComponentModel.Design/ComponentChangedEventArgs.cs
mcs/class/System/System.ComponentModel.Design/ComponentChangedEventHandler.cs
mcs/class/System/System.ComponentModel.Design/ComponentChangingEventArgs.cs
mcs/class/System/System.ComponentModel.Design/ComponentChangingEventHandler.cs
mcs/class/System/System.ComponentModel.Design/ComponentEventArgs.cs
mcs/class/System/System.ComponentModel.Design/ComponentEventHandler.cs
mcs/class/System/System.ComponentModel.Design/ComponentRenameEventArgs.cs
mcs/class/System/System.ComponentModel.Design/ComponentRenameEventHandler.cs
mcs/class/System/System.ComponentModel.Design/DesignerCollection.cs
mcs/class/System/System.ComponentModel.Design/DesignerEventArgs.cs
mcs/class/System/System.ComponentModel.Design/DesignerEventHandler.cs
mcs/class/System/System.ComponentModel.Design/DesigntimeLicenseContext.cs
mcs/class/System/System.ComponentModel.Design/DesigntimeLicenseContextSerializer.cs
mcs/class/System/System.ComponentModel.Design/HelpContextType.cs
mcs/class/System/System.ComponentModel.Design/HelpKeywordType.cs
mcs/class/System/System.ComponentModel.Design/IComponentChangeService.cs
mcs/class/System/System.ComponentModel.Design/IDesignerEventService.cs
mcs/class/System/System.ComponentModel.Design/IDesignerOptionService.cs
mcs/class/System/System.ComponentModel.Design/IDictionaryService.cs
mcs/class/System/System.ComponentModel.Design/IEventBindingService.cs
mcs/class/System/System.ComponentModel.Design/IExtenderListService.cs
mcs/class/System/System.ComponentModel.Design/IExtenderProviderService.cs
mcs/class/System/System.ComponentModel.Design/IHelpService.cs
mcs/class/System/System.ComponentModel.Design/IMenuCommandService.cs
mcs/class/System/System.ComponentModel.Design/IReferenceService.cs
mcs/class/System/System.ComponentModel.Design/IRootDesigner.cs
mcs/class/System/System.ComponentModel.Design/ITypeDescriptorFilterService.cs
mcs/class/System/System.ComponentModel.Design/ITypeResolutionService.cs
mcs/class/System/System.ComponentModel.Design/SelectionTypes.cs
mcs/class/System/System.ComponentModel.Design/ServiceContainer.cs
mcs/class/System/System.ComponentModel.Design/StandardCommands.cs
mcs/class/System/System.ComponentModel.Design/StandardToolWindows.cs
mcs/class/System/System.ComponentModel.Design/ViewTechnology.cs
mcs/class/System/System.ComponentModel/LicenseContext.cs [new file with mode: 0644]
mcs/class/System/System.ComponentModel/LicenseUsageMode.cs [new file with mode: 0644]
mcs/class/System/list.unix

index 1725dcbe20940e6d410f203fbabda414572de40c..3aa680ad51d5d8587a3e9a56c27512199a6c01eb 100644 (file)
@@ -1,3 +1,9 @@
+2003-03-29  Martin Willemoes Hansen <mwh@sysrq.dk>
+
+       * Stubed System.ComponentModel/LicenseContext.cs
+       * Stubed System.ComponentModel/LicenseUsageMode.cs
+       * Stubed rest of System.ComponentModel.Design
+
 2003-03-29  Martin Willemoes Hansen <mwh@sysrq.dk>
 
        * Stubed System.ComponentModel/InheritanceAttribute.cs
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..64c614c227f53fccae48e0d85914b2b40beff00b 100644 (file)
@@ -0,0 +1,44 @@
+//
+// System.ComponentModel.Design.CheckoutException
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       public class CheckoutException : ExternalException
+       {
+               public static readonly CheckoutException Canceled;
+
+               [MonoTODO]
+               public CheckoutException()
+               {
+               }
+
+               [MonoTODO]
+               public CheckoutException (string message)
+               {
+               }
+
+               [MonoTODO]
+               public CheckoutException (string message, int errorCode)
+               {
+               }
+
+               [MonoTODO]
+               public override string ToString()
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~CheckoutException()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..41e1a6a8d78599a542a21d07b9e89616f48316e9 100644 (file)
@@ -0,0 +1,50 @@
+//
+// System.ComponentModel.Design.ComponentChangedEventArgs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public sealed class ComponentChangedEventArgs : EventArgs
+       {
+               [MonoTODO]
+               public ComponentChangedEventArgs (object component,
+                                                 MemberDescriptor member,
+                                                 object oldValue,
+                                                 object newValue)
+               {
+               }
+
+               public object Component {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public MemberDescriptor Member {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public object NewValue {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public object OldValue {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               ~ComponentChangedEventArgs()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a103ed19f98383ee5f296ddf1f3107a265038ee0 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.ComponentChangedEventHandler
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       [ComVisible(true)]
+        public delegate void ComponentChangedEventHandler (object sender,
+                                                          ComponentChangedEventArgs e);
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b2629f19484137d5712595780c1c9c6c93818b6a 100644 (file)
@@ -0,0 +1,38 @@
+//
+// System.ComponentModel.Design.ComponentChangingEventArgs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public sealed class ComponentChangingEventArgs : EventArgs
+       {
+               [MonoTODO]
+               public ComponentChangingEventArgs (object component,
+                                                  MemberDescriptor member)
+               {
+               }
+
+               public object Component {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public MemberDescriptor Member {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               ~ComponentChangingEventArgs()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a78fbc7a33da67e0be543fa5976ea83333b84bf 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.ComponentChangingEventHandler
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       [ComVisible(true)]
+        public delegate void ComponentChangingEventHandler (object sender,
+                                                           ComponentChangingEventArgs e);
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a7d24b13054b97b05de8f8b1102d42ea91971747 100644 (file)
@@ -0,0 +1,32 @@
+//
+// System.ComponentModel.Design.ComponentEventArgs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public class ComponentEventArgs : EventArgs
+       {
+               [MonoTODO]
+               public ComponentEventArgs (IComponent component)
+               {
+               }
+
+               public virtual IComponent Component {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               ComponentEventArgs()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..70920e8f3c05ef449bdddc29c40846968b337f1a 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.ComponentEventHandler
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       [ComVisible(true)]
+        public delegate void ComponentEventHandler (object sender,
+                                                   ComponentEventArgs e);
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..99eb7560fbd74b70fd656b71fc026cf1d656a572 100644 (file)
@@ -0,0 +1,45 @@
+//
+// System.ComponentModel.Design.ComponentRenameEventArgs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public class ComponentRenameEventArgs : EventArgs
+       {
+               [MonoTODO]
+               public ComponentRenameEventArgs (object component,
+                                                string oldName,
+                                                string newName)
+               {
+               }
+
+               public object Component {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public virtual string NewName {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public virtual string OldName {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               ~ComponentRenameEventArgs()
+               {
+               }
+               
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..90d2780407878663ba385802c74fef0062f4c39f 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.ComponentRenameEventHandler
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       [ComVisible(true)]
+        public delegate void ComponentRenameEventHandler (object sender,
+                                                         ComponentRenameEventArgs e);
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..30237a5c12299443456407e55113919c1ffab8a0 100644 (file)
@@ -0,0 +1,64 @@
+//
+// System.ComponentModel.Design.DesignerCollection
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+       public class DesignerCollection : ICollection, IEnumerable
+       {
+               [MonoTODO]
+               public DesignerCollection (IDesignerHost[] designers)
+               {
+               }
+
+               [MonoTODO]
+               public DesignerCollection (IList designers)
+               {
+               }
+
+               public int Count {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public virtual IDesignerHost this [int index] {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               public IEnumerator GetEnumerator()
+               {
+                       throw new NotImplementedException();
+               }
+
+               public bool IsSynchronized {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               public object SyncRoot {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               public void CopyTo (Array array, int index)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~DesignerCollection()
+               {
+               }
+
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..45ebb155e304e6e291f981bd953037c489a9ae53 100644 (file)
@@ -0,0 +1,30 @@
+//
+// System.ComponentModel.Design.DesignerEventArgs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public class DesignerEventArgs : EventArgs
+       {
+               [MonoTODO]
+               public DesignerEventArgs (IDesignerHost host)
+               {
+               }
+
+               public IDesignerHost Designer {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               ~DesignerEventArgs()
+               {
+               }
+
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e77f24736092cb2da3fa209ba0083eb44bba6969 100644 (file)
@@ -0,0 +1,15 @@
+//
+// System.ComponentModel.Design.DesignerEventHandler
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+        public delegate void DesignerEventHandler (object sender,
+                                                  DesignerEventArgs e);
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..365708f49f30c959d999dc0ccba3ad951da70841 100644 (file)
@@ -0,0 +1,44 @@
+//
+// System.ComponentModel.Design.DesigntimeLicenseContext
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Reflection;
+
+namespace System.ComponentModel.Design
+{
+       public class DesigntimeLicenseContext : LicenseContext
+       {
+               [MonoTODO]
+               public DesigntimeLicenseContext()
+               {
+               }
+
+               public override LicenseUsageMode UsageMode {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               public override string GetSavedLicenseKey (Type type,
+                                                          Assembly resourceAssembly)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public override void SetSavedLicenseKey (Type type, string key)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~DesigntimeLicenseContext()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a7ef3d9e806068f4500c08ab3efe49b35d52b868 100644 (file)
@@ -0,0 +1,29 @@
+//
+// System.ComponentModel.Design.DesigntimeLicenseContextSerializer
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.IO;
+
+namespace System.ComponentModel.Design
+{
+       public class DesigntimeLicenseContextSerializer
+       {
+               [MonoTODO]
+               public static void Serialize (Stream o,
+                                             string cryptoKey,
+                                             DesigntimeLicenseContext context)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~DesigntimeLicenseContextSerializer()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fb40f8d6dfd96097571b0a3700ddcd0feceeaeff 100644 (file)
@@ -0,0 +1,20 @@
+//
+// System.ComponentModel.Design.HelpContextType
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+        public enum HelpContextType
+       {
+               Ambient,
+               Selection,
+               ToolWindowSelection,
+               Window,
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..eb02ab5b8f94d04f164f74b12e8d57981e62869b 100644 (file)
@@ -0,0 +1,19 @@
+//
+// System.ComponentModel.Design.HelpKeywordType
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+        public enum HelpKeywordType
+       {
+               F1Keyword,
+               FilterKeyword,
+               GeneralKeyword,
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0b1fd0543379de5fc8be9f19380ce24e9a47d701 100644 (file)
@@ -0,0 +1,31 @@
+//
+// System.ComponentModel.Design.IComponentChangeService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public interface IComponentChangeService
+       {
+               void OnComponentChanged (object component,
+                                        MemberDescriptor member,
+                                        object oldValue,
+                                        object newValue);
+               void OnComponentChanging (object component, 
+                                         MemberDescriptor member);
+               event ComponentEventHandler ComponentAdded;
+               event ComponentEventHandler ComponentAdding;
+               event ComponentChangedEventHandler ComponentChanged;
+               event ComponentChangingEventHandler ComponentChanging;
+               event ComponentEventHandler ComponentRemoved;
+               event ComponentEventHandler ComponentRemoving;
+               event ComponentRenameEventHandler ComponentRename;
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bd07df3ff8b2d89d9efcc1be097ede8122261df7 100644 (file)
@@ -0,0 +1,21 @@
+//
+// System.ComponentModel.Design.IDesignerEventService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IDesignerEventService
+       {
+               IDesignerHost ActiveDesigner {get;}
+               DesignerCollection Designers {get;}
+               event ActiveDesignerEventHandler ActiveDesignerChanged;
+               event DesignerEventHandler DesignerCreated;
+               event DesignerEventHandler DesignerDisposed;
+               event EventHandler SelectionChanged;
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c1be158f23232855c3ed8e3e4f1d6f996226eaaa 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.IDesignerOptionService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IDesignerOptionService
+       {
+               object GetOptionValue (string pageName, string valueName);
+               void SetOptionValue (string pageName, string valueName, 
+                                    object value);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..555afd297c1194bf9a06a2bb0c4e704c93632ca2 100644 (file)
@@ -0,0 +1,18 @@
+//
+// System.ComponentModel.Design.IDictionaryService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IDictionaryService
+       {
+               object GetKey (object value);
+               object GetValue (object key);
+               void SetValue (object key, object value);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0518cc3b80b0bec4f4188cafe4abff28ac6d6dbc 100644 (file)
@@ -0,0 +1,29 @@
+//
+// System.ComponentModel.Design.IEventBindingService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Collections;
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public interface IEventBindingService
+       {
+               string CreateUniqueMethodName (IComponent component,
+                                              EventDescriptor e);
+               ICollection GetCompatibleMethods (EventDescriptor e);
+               EventDescriptor GetEvent (PropertyDescriptor property);
+               PropertyDescriptorCollection GetEventProperties (
+                                             EventDescriptorCollection events);
+               PropertyDescriptor GetEventProperty (EventDescriptor e);
+               bool ShowCode();
+               bool ShowCode (int lineNumber);
+               bool ShowCode (IComponent component, EventDescriptor e);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..740cd5bf667d49dbea9b19fa91dd21869595ad03 100644 (file)
@@ -0,0 +1,16 @@
+//
+// System.ComponentModel.Design.IExtenderListService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IExtenderListService
+       {
+               IExtenderProvider[] GetExtenderProviders();
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f25b56cab76a5a71c1c905b626c2989220cddbc9 100644 (file)
@@ -0,0 +1,17 @@
+//
+// System.ComponentModel.Design.IExtenderProviderService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IExtenderProviderService
+       {
+               void AddExtenderProvider (IExtenderProvider provider);
+               void RemoveExtenderProvider (IExtenderProvider provider);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..15a49c4e62dca867bd6f4d7846b4109334ea2d86 100644 (file)
@@ -0,0 +1,24 @@
+//
+// System.ComponentModel.Design.IHelpService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IHelpService
+       {
+               void AddContextAttribute (string name, string value,
+                                         HelpKeywordType keywordType);
+
+               void ClearContextAttributes();
+               IHelpService CreateLocalContext (HelpContextType contextType);
+               void RemoveContextAttribute (string name, string value);
+               void RemoveLocalContext (IHelpService localContext);
+               void ShowHelpFromKeyword (string helpKeyword);
+               void ShowHelpFromUrl (string helpUrl);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..332e137729d02a5de83f8f10f9bbe9cfdcffd47b 100644 (file)
@@ -0,0 +1,26 @@
+//
+// System.ComponentModel.Design.IMenuCommandService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public interface IMenuCommandService
+       {
+               DesignerVerbCollection Verbs {get;}
+               void AddCommand (MenuCommand command);
+               void AddVerb (DesignerVerb verb);
+               MenuCommand FindCommand (CommandID commandID);
+               bool GlobalInvoke (CommandID commandID);
+               void RemoveCommand (MenuCommand command);
+               void RemoveVerb (DesignerVerb verb);
+               void ShowContextMenu (CommandID menuID, int x, int y);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f423890fdaea01313c4445b2e521bf694e572ff6 100644 (file)
@@ -0,0 +1,20 @@
+//
+// System.ComponentModel.Design.IReferenceService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public interface IReferenceService
+       {
+               IComponent GetComponent (object reference);
+               string GetName (object reference);
+               object GetReference (string name);
+               object[] GetReferences();
+               object[] GetReferences (Type baseType);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5b8b9aea2fb590e4e5febfb4abfb2334dfc73389 100644 (file)
@@ -0,0 +1,20 @@
+//
+// System.ComponentModel.Design.IRootDesigner
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [ComVisible(true)]
+        public interface IRootDesigner : IDesigner, IDisposable
+       {
+               ViewTechnology[] SupportedTechnologies {get;}
+               object GetView (ViewTechnology technology);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bc6e0167924ef31368c91f99d1c613cd85ba38d3 100644 (file)
@@ -0,0 +1,25 @@
+//
+// System.ComponentModel.Design.ITypeDescriptorFilterService.cs
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+       public interface ITypeDescriptorFilterService
+       {
+               bool FilterAttributes (IComponent component,
+                                      IDictionary attributes);
+
+               bool FilterEvents (IComponent component, 
+                                  IDictionary events);
+
+               bool FilterProperties (IComponent component, 
+                                      IDictionary properties);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b20324d84302e7f22211a144dc22b9c275073c21 100644 (file)
@@ -0,0 +1,23 @@
+//
+// System.ComponentModel.Design.ITypeResolutionService
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Reflection;
+
+namespace System.ComponentModel.Design
+{
+       public interface ITypeResolutionService
+       {
+               Assembly GetAssembly (AssemblyName name);
+               Assembly GetAssembly (AssemblyName name, bool throwOnError);
+               string GetPathOfAssembly (AssemblyName name);
+               Type GetType (string name);
+               Type GetType (string name, bool throwOnError);
+               void ReferenceAssembly (AssemblyName name);
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ab17d1eae407203e387a8daa9a03ccb9dbbb8d58 100644 (file)
@@ -0,0 +1,26 @@
+//
+// System.ComponentModel.Design.SelectionTypes
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Flags]
+       [Serializable]
+       [ComVisible(true)]
+        public enum SelectionTypes
+       {
+               Click,
+               MouseDown,
+               MouseUp,
+               Normal,
+               Replace,
+               Valid,
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..dfb5bb6985441437ac9a3835ea1b18f3b4082019 100644 (file)
@@ -0,0 +1,79 @@
+//
+// System.ComponentModel.Design.ServiceContainer
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public sealed class ServiceContainer : IServiceContainer,
+                                               IServiceProvider
+       {
+               [MonoTODO]
+               public ServiceContainer()
+               {
+               }
+
+               [MonoTODO]
+               public ServiceContainer (IServiceProvider parentProvider)
+               {
+               }
+
+               [MonoTODO]
+               public void AddService (Type serviceType,
+                                       object serviceInstance)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public void AddService (Type serviceType,
+                                       ServiceCreatorCallback callback)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public void AddService (Type serviceType, 
+                                       object serviceInstance,
+                                       bool promote)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public void AddService (Type serviceType,
+                                       ServiceCreatorCallback callback,
+                                       bool promote)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public void RemoveService (Type serviceType)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public void RemoveService (Type serviceType,
+                                          bool promote)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public object GetService (Type serviceType)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~ServiceContainer()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4f9cc097712df69e564a90cf431e8106750716b9 100644 (file)
@@ -0,0 +1,78 @@
+//
+// System.ComponentModel.Design.StandardCommands
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public class StandardCommands
+       {
+               public static readonly CommandID AlignBottom;
+               public static readonly CommandID AlignHorizontalCenters;
+               public static readonly CommandID AlignLeft;
+               public static readonly CommandID AlignRight;
+               public static readonly CommandID AlignToGrid;
+               public static readonly CommandID AlignTop;
+               public static readonly CommandID AlignVerticalCenters;
+               public static readonly CommandID ArrangeBottom;
+               public static readonly CommandID ArrangeIcons;
+               public static readonly CommandID ArrangeRight;
+               public static readonly CommandID BringForward;
+               public static readonly CommandID BringToFront;
+               public static readonly CommandID CenterHorizontally;
+               public static readonly CommandID CenterVertically;
+               public static readonly CommandID Copy;
+               public static readonly CommandID Cut;
+               public static readonly CommandID Delete;
+               public static readonly CommandID F1Help;
+               public static readonly CommandID Group;
+               public static readonly CommandID HorizSpaceConcatenate;
+               public static readonly CommandID HorizSpaceDecrease;
+               public static readonly CommandID HorizSpaceIncrease;
+               public static readonly CommandID HorizSpaceMakeEqual;
+               public static readonly CommandID LineupIcons;
+               public static readonly CommandID LockControls;
+               public static readonly CommandID MultiLevelRedo;
+               public static readonly CommandID MultiLevelUndo;
+               public static readonly CommandID Paste;
+               public static readonly CommandID Properties;
+               public static readonly CommandID PropertiesWindow;
+               public static readonly CommandID Redo;
+               public static readonly CommandID Replace;
+               public static readonly CommandID SelectAll;
+               public static readonly CommandID SendBackward;
+               public static readonly CommandID SendToBack;
+               public static readonly CommandID ShowGrid;
+               public static readonly CommandID ShowLargeIcons;
+               public static readonly CommandID SizeToControl;
+               public static readonly CommandID SizeToControlHeight;
+               public static readonly CommandID SizeToControlWidth;
+               public static readonly CommandID SizeToFit;
+               public static readonly CommandID SizeToGrid;
+               public static readonly CommandID SnapToGrid;
+               public static readonly CommandID TabOrder;
+               public static readonly CommandID Undo;
+               public static readonly CommandID Ungroup;
+               public static readonly CommandID VerbFirst;
+               public static readonly CommandID VerbLast;
+               public static readonly CommandID VertSpaceConcatenate;
+               public static readonly CommandID VertSpaceDecrease;
+               public static readonly CommandID VertSpaceIncrease;
+               public static readonly CommandID VertSpaceMakeEqual;
+               public static readonly CommandID ViewGrid;
+
+               [MonoTODO]
+               public StandardCommands()
+               {
+               }
+
+               [MonoTODO]
+               ~StandardCommands()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4cb9a0e64e1b6ca2c93eb577a1cb6374a6a1e95a 100644 (file)
@@ -0,0 +1,33 @@
+//
+// System.ComponentModel.Design
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+namespace System.ComponentModel.Design
+{
+       public class StandardToolWindows
+       {
+               public static readonly Guid ObjectBrowser;
+               public static readonly Guid OutputWindow;
+               public static readonly Guid ProjectExplorer;
+               public static readonly Guid PropertyBrowser;
+               public static readonly Guid RelatedLinks;
+               public static readonly Guid ServerExplorer;
+               public static readonly Guid TaskList;
+               public static readonly Guid Toolbox;
+
+               [MonoTODO]
+               public StandardToolWindows()
+               {
+               }
+
+               [MonoTODO]
+               ~StandardToolWindows()
+               {
+               }
+       }
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..87f33cf040c373cefe36f3e5a85c15d1ee178df9 100644 (file)
@@ -0,0 +1,21 @@
+//
+// System.ComponentModel.Design.ViewTechnology
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel.Design
+{
+       [Serializable]
+       [ComVisible(true)]
+        public enum ViewTechnology
+       {
+               Passthrough,
+               WindowsForms,
+       }
+}
diff --git a/mcs/class/System/System.ComponentModel/LicenseContext.cs b/mcs/class/System/System.ComponentModel/LicenseContext.cs
new file mode 100644 (file)
index 0000000..7cb8e9c
--- /dev/null
@@ -0,0 +1,50 @@
+//
+// System.ComponentModel.LicenseContext
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Reflection;
+
+namespace System.ComponentModel
+{
+       public class LicenseContext : IServiceProvider
+       {
+               [MonoTODO]
+               public LicenseContext()
+               {
+               }
+
+               public virtual LicenseUsageMode UsageMode {
+                       [MonoTODO]
+                       get { throw new NotImplementedException(); }
+               }
+
+               [MonoTODO]
+               public virtual string GetSavedLicenseKey (Type type,
+                                                         Assembly resourceAssembly)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public virtual object GetService (Type type)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               public virtual void SetSavedLicenseKey (Type type, string key)
+               {
+                       throw new NotImplementedException();
+               }
+
+               [MonoTODO]
+               ~LicenseContext()
+               {
+               }
+       }
+}
diff --git a/mcs/class/System/System.ComponentModel/LicenseUsageMode.cs b/mcs/class/System/System.ComponentModel/LicenseUsageMode.cs
new file mode 100644 (file)
index 0000000..dc25cf9
--- /dev/null
@@ -0,0 +1,20 @@
+//
+// System.ComponentModel.LicenseUsageMode
+//
+// Authors:
+//      Martin Willemoes Hansen (mwh@sysrq.dk)
+//
+// (C) 2003 Martin Willemoes Hansen
+//
+
+using System.Reflection;
+
+namespace System.ComponentModel
+{
+       [Serializable]
+        public enum LicenseUsageMode
+       {
+               Designtime,
+               Runtime,
+       }
+}
index 71437b02d93771e86209e739818661d79ab94de1..8d916eb34fafe28539bdd9fe9e2b43ecf2b26aef 100755 (executable)
@@ -168,6 +168,8 @@ System.ComponentModel/ISupportInitialize.cs
 System.ComponentModel/ISynchronizeInvoke.cs
 System.ComponentModel/ITypeDescriptorContext.cs
 System.ComponentModel/ITypedList.cs
+System.ComponentModel/LicenseContext.cs
+System.ComponentModel/LicenseUsageMode.cs
 System.ComponentModel/ListBindableAttribute.cs
 System.ComponentModel/ListChangedEventArgs.cs
 System.ComponentModel/ListChangedEventHandler.cs