diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2007-11-13 16:31:02 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2007-11-13 16:31:02 +0300 |
commit | acfbe80c82f1463ccb3b63706513629c064ad875 (patch) | |
tree | 0e20003a19100877f24357f0fca0e300c1e3aa69 /mcs/class/System.Drawing.Design | |
parent | 72820120709cd6a41992dc7686680ae3c6050f3a (diff) |
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs:
couple of 2.0 API fixes.
svn path=/trunk/mcs/; revision=89551
Diffstat (limited to 'mcs/class/System.Drawing.Design')
4 files changed, 24 insertions, 4 deletions
diff --git a/mcs/class/System.Drawing.Design/System.Drawing.Design/ChangeLog b/mcs/class/System.Drawing.Design/System.Drawing.Design/ChangeLog index 8456eb4ff8b..25000b40147 100644 --- a/mcs/class/System.Drawing.Design/System.Drawing.Design/ChangeLog +++ b/mcs/class/System.Drawing.Design/System.Drawing.Design/ChangeLog @@ -1,3 +1,8 @@ +2007-11-13 Atsushi Enomoto <atsushi@ximian.com> + + * ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs: + couple of 2.0 API fixes. + 2007-05-30 Sebastien Pouliot <sebastien@ximian.com> * CursorEditor.cs: Add new (2.0) IsDropDownResizable property. diff --git a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemContainer.cs b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemContainer.cs index 946f42cd73c..2b51e8c29aa 100644 --- a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemContainer.cs +++ b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemContainer.cs @@ -57,12 +57,17 @@ namespace System.Drawing.Design { [MonoTODO] + public bool IsCreated { + get { throw new NotImplementedException (); } + } + + [MonoTODO] public bool IsTransient { get { throw new NotImplementedException (); } } [MonoTODO] - public IDataObject ToolboxData { + public virtual IDataObject ToolboxData { get { throw new NotImplementedException (); } } diff --git a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemCreator.cs b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemCreator.cs index a84403c68c7..251f6c13fee 100644 --- a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemCreator.cs +++ b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxItemCreator.cs @@ -34,6 +34,10 @@ namespace System.Drawing.Design { public sealed class ToolboxItemCreator { + internal ToolboxItemCreator () + { + } + [MonoTODO] public ToolboxItem Create (IDataObject data) { diff --git a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxService.cs b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxService.cs index 4219fe8b3fd..72a56fd2497 100644 --- a/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxService.cs +++ b/mcs/class/System.Drawing.Design/System.Drawing.Design/ToolboxService.cs @@ -65,7 +65,7 @@ namespace System.Drawing.Design { } [MonoTODO] - protected virtual ToolboxItemContainer CreateItemContainer (IDataObject dataObject, IDesignerHost link) + protected virtual ToolboxItemContainer CreateItemContainer (ToolboxItem item, IDesignerHost link) { throw new NotImplementedException (); } @@ -81,7 +81,7 @@ namespace System.Drawing.Design { protected abstract IList GetItemContainers (string categoryName); [MonoTODO] - protected virtual void IsItemContainer (IDataObject dataObject, IDesignerHost host) + protected virtual bool IsItemContainer (IDataObject dataObject, IDesignerHost host) { throw new NotImplementedException (); } @@ -101,7 +101,13 @@ namespace System.Drawing.Design { } [MonoTODO] - protected virtual void SetCursor () + protected virtual bool SetCursor () + { + throw new NotImplementedException (); + } + + [MonoTODO] + public static void UnloadToolboxItems () { throw new NotImplementedException (); } |