Author: atsushi
Date: 2007-09-28 11:02:28 -0400 (Fri, 28 Sep 2007)
New Revision: 86577
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptor.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataConnection.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItem.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItemCollection.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ConnectionStringEditor.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ContainerControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormat.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatCollection.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatStyle.cs
Modified:
trunk/mcs/class/System.Design/ChangeLog
trunk/mcs/class/System.Design/System.Design.dll.sources
trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
Log:
2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
* DataSourceDescriptor.cs,
DataSourceDescriptorCollection.cs,
DesignerDataConnection.cs : new stubs.
* ControlDesigner.cs, TemplatedControlDesigner.cs :
Added some 2.0 members and excluded some non-2.0 stuff.
* ClientScriptItem.cs, ClientScriptItemCollection.cs,
ConnectionStringEditor.cs, ContainerControlDesigner.cs,
DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
DesignerAutoFormatStyle.cs : new stubs.
Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog 2007-09-28 14:49:20 UTC (rev
86576)
+++ trunk/mcs/class/System.Design/ChangeLog 2007-09-28 15:02:28 UTC (rev
86577)
@@ -1,6 +1,16 @@
2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
* System.Design.dll.sources : more new types:
+ DataSourceDescriptor.cs, DataSourceDescriptorCollection.cs,
+ DesignerDataConnection.cs in System.ComponentModel.Design.Data,
+ and ClientScriptItem.cs, ClientScriptItemCollection.cs,
+ ConnectionStringEditor.cs, ContainerControlDesigner.cs,
+ DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
+ DesignerAutoFormatStyle.cs in System.Web.UI.Design.
+
+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,
Added: trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
2007-09-28 14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/ChangeLog
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,5 @@
+2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * DataSourceDescriptor.cs,
+ DataSourceDescriptorCollection.cs,
+ DesignerDataConnection.cs : new stubs.
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptor.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptor.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptor.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,53 @@
+//
+// System.ComponentModel.Design.Data.DataSourceDescriptor
+//
+// 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.Drawing;
+using System.Drawing.Design;
+using System.Drawing.Drawing2D;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public abstract class DataSourceDescriptor
+ {
+ protected DataSourceDescriptor ()
+ {
+ }
+
+ public abstract Bitmap Image { get; }
+ public abstract bool IsDesignable { get; }
+ public abstract string Name { get; }
+ public abstract string TypeName { get; }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,88 @@
+//
+// System.ComponentModel.Design.Data.DataSourceDescriptor
+//
+// 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.Data
+{
+ public class DataSourceDescriptorCollection : CollectionBase
+ {
+ public DataSourceDescriptorCollection ()
+ {
+ }
+
+ [MonoTODO]
+ public DataSourceDescriptor this [int index] {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public int Add (DataSourceDescriptor value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool Contains (DataSourceDescriptor value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void CopyTo (DataSourceDescriptor [] array, int index)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public int IndexOf (DataSourceDescriptor value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Insert (int index, DataSourceDescriptor value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Remove (DataSourceDescriptor value)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataConnection.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataConnection.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataConnection.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,80 @@
+//
+// System.ComponentModel.Design.Data.DesignerDataConnection
+//
+// 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.Drawing;
+using System.Drawing.Design;
+using System.Drawing.Drawing2D;
+using System.Security.Permissions;
+
+namespace System.ComponentModel.Design.Data
+{
+ public sealed class DesignerDataConnection
+ {
+ string name, provider_name, connection_string;
+ bool is_configured;
+
+ [MonoTODO]
+ public DesignerDataConnection (string name, string
providerName, string connectionString)
+ : this (name, providerName, connectionString, false)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public DesignerDataConnection (string name, string
providerName, string connectionString, bool isConfigured)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string Name {
+ get { return name; }
+ }
+
+ [MonoTODO]
+ public string ProviderName{
+ get { return provider_name; }
+ }
+
+ [MonoTODO]
+ public string ConnectionString {
+ get { return connection_string; }
+ }
+
+ [MonoTODO]
+ public bool IsConfigured {
+ get { return is_configured; }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design.Data/DesignerDataConnection.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
14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources 2007-09-28
15:02:28 UTC (rev 86577)
@@ -10,6 +10,9 @@
System.ComponentModel.Design/CollectionEditor.cs
System.ComponentModel.Design/ComponentActionsType.cs
System.ComponentModel.Design/ComponentDesigner.cs
+System.ComponentModel.Design.Data/DataSourceDescriptor.cs
+System.ComponentModel.Design.Data/DataSourceDescriptorCollection.cs
+System.ComponentModel.Design.Data/DesignerDataConnection.cs
System.ComponentModel.Design/DateTimeEditor.cs
System.ComponentModel.Design/DesignerActionHeaderItem.cs
System.ComponentModel.Design/DesignerActionItem.cs
@@ -90,6 +93,10 @@
System.ServiceProcess.Design/ServiceControllerDesigner.cs
System.Web.UI.Design/AppSettingsExpressionEditor.cs
System.Web.UI.Design/CalendarDataBindingHandler.cs
+System.Web.UI.Design/ClientScriptItem.cs
+System.Web.UI.Design/ClientScriptItemCollection.cs
+System.Web.UI.Design/ConnectionStringEditor.cs
+System.Web.UI.Design/ContainerControlDesigner.cs
System.Web.UI.Design/ColorBuilder.cs
System.Web.UI.Design/ConnectionStringsExpressionEditor.cs
System.Web.UI.Design/ControlDesigner.cs
@@ -104,6 +111,9 @@
System.Web.UI.Design/DataMemberConverter.cs
System.Web.UI.Design/DataSourceConverter.cs
System.Web.UI.Design/DesignTimeData.cs
+System.Web.UI.Design/DesignerAutoFormat.cs
+System.Web.UI.Design/DesignerAutoFormatCollection.cs
+System.Web.UI.Design/DesignerAutoFormatStyle.cs
System.Web.UI.Design/DesignerDataSourceView.cs
System.Web.UI.Design/DesignerObject.cs
System.Web.UI.Design/DesignerRegion.cs
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
2007-09-28 14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
2007-09-28 15:02:28 UTC (rev 86577)
@@ -1,3 +1,13 @@
+2007-09-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * ControlDesigner.cs, TemplatedControlDesigner.cs :
+ Added some 2.0 members and excluded some non-2.0 stuff.
+
+ * ClientScriptItem.cs, ClientScriptItemCollection.cs,
+ ConnectionStringEditor.cs, ContainerControlDesigner.cs,
+ DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
+ DesignerAutoFormatStyle.cs : new stubs.
+
2007-09-27 Marek Habersack <[EMAIL PROTECTED]>
* ControlPersister.cs: added the PersistTemplate property stubs.
Added: trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItem.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItem.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItem.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,72 @@
+//
+// System.Web.UI.Design.ClientScriptItem
+//
+// 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.ComponentModel;
+
+namespace System.Web.UI.Design
+{
+ public sealed class ClientScriptItem
+ {
+ string text, source, language, type, id;
+
+ public ClientScriptItem (string text, string source, string
language, string type, string id)
+ {
+ this.text = text;
+ this.source = source;
+ this.language = language;
+ this.type = type;
+ this.id = id;
+ }
+
+ public string Id {
+ get { return id; }
+ }
+
+ public string Language {
+ get { return language; }
+ }
+
+ public string Source {
+ get { return source; }
+ }
+
+ public string Text {
+ get { return text; }
+ }
+
+ public string Type{
+ get { return type; }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItemCollection.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItemCollection.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItemCollection.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,48 @@
+//
+// System.Web.UI.Design.ClientScriptItemCollection
+//
+// 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.Collections;
+
+namespace System.Web.UI.Design
+{
+ public sealed class ClientScriptItemCollection : ReadOnlyCollectionBase
+ {
+ public ClientScriptItemCollection (ClientScriptItem []
clientScriptItems)
+ {
+ if (clientScriptItems == null)
+ throw new ArgumentNullException
("clientScriptItems");
+ InnerList.AddRange (clientScriptItems);
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ClientScriptItemCollection.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ConnectionStringEditor.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ConnectionStringEditor.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ConnectionStringEditor.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,75 @@
+//
+// System.Web.UI.Design.ConnectionStringEditor
+//
+// 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.ComponentModel;
+using System.ComponentModel.Design.Data;
+using System.Drawing;
+using System.Drawing.Design;
+using System.Drawing.Drawing2D;
+using System.Security.Permissions;
+
+namespace System.Web.UI.Design
+{
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class ConnectionStringEditor : UITypeEditor
+ {
+ public ConnectionStringEditor ()
+ {
+ }
+
+ [MonoTODO]
+ public virtual object EditValue (ITypeDescriptorContext
context, IServiceProvider provider, object value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual UITypeEditorEditStyle GetEditStyle
(ITypeDescriptorContext context)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual string GetProviderName (object instance)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual void SetProviderName (object instance,
DesignerDataConnection connection)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ConnectionStringEditor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ContainerControlDesigner.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ContainerControlDesigner.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ContainerControlDesigner.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,101 @@
+//
+// System.Web.UI.Design.ContainerControlDesigner
+//
+// 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.Collections;
+using System.Drawing;
+using System.Drawing.Design;
+using System.Security.Permissions;
+using System.Web.UI.WebControls;
+
+namespace System.Web.UI.Design
+{
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class ContainerControlDesigner : ControlDesigner
+ {
+ public ContainerControlDesigner ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool AllowResize {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public virtual string FrameCaption {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public virtual Style FrameStyle {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected virtual void AddDesignTimeCssAttributes (IDictionary
styleAttributes)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual IDictionary GetDesignTimeCssAttributes ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override string GetDesignTimeHtml
(DesignerRegionCollection regions)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override string GetEditableDesignerRegionContent
(EditableDesignerRegion region)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override string GetPersistenceContent ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void SetEditableDesignerRegionContent
(EditableDesignerRegion region, string content)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ContainerControlDesigner.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -47,6 +47,12 @@
[MonoNotSupported ("")]
public virtual void SetEditableDesignerRegionContent
(EditableDesignerRegion region, string content) { throw new
NotImplementedException (); }
+
+ [MonoNotSupported ("")]
+ public virtual string GetPersistenceContent ()
+ {
+ throw new NotImplementedException ();
+ }
#endif
[MonoTODO]
protected virtual string GetEmptyDesignTimeHtml () { throw new
NotImplementedException (); }
@@ -91,6 +97,21 @@
#if NET_2_0
[MonoNotSupported ("")]
+ public override DesignerActionListCollection ActionLists {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoNotSupported ("")]
+ public virtual DesignerAutoFormatCollection AutoFormats {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoNotSupported ("")]
+ protected virtual bool DataBindingsEnabled {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoNotSupported ("")]
protected ControlDesignerState DesignerState {
[MonoNotSupported ("")]
get {
@@ -99,6 +120,27 @@
}
[MonoNotSupported ("")]
+ protected internal virtual bool HidePropertiesInTemplateMode {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoNotSupported ("")]
+ public bool InTemplateMode {
+ get { throw new NotImplementedException (); }
+ }
+
+// too much more work is needed
+// [MonoNotSupported ("")]
+// protected WebFormsRootDesigner RootDesigner {
+// get { throw new NotImplementedException (); }
+// }
+
+// [MonoNotSupported ("")]
+// protected IControlDesignerTag Tag {
+// get { throw new NotImplementedException (); }
+// }
+
+ [MonoNotSupported ("")]
protected void SetViewFlags (ViewFlags viewFlags, bool setFlag)
{
throw new NotImplementedException ();
Added: trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormat.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormat.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormat.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,73 @@
+//
+// System.ComponentModel.Design.Data.DesignerAutoFormat
+//
+// 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.Design;
+using System.ComponentModel;
+using System.Web.UI.WebControls;
+using System.Collections;
+
+namespace System.Web.UI.Design
+{
+ public abstract class DesignerAutoFormat
+ {
+ protected DesignerAutoFormat (string name)
+ {
+ }
+
+ [MonoTODO]
+ public string Name {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public DesignerAutoFormatStyle Style {
+ get { throw new NotImplementedException (); }
+ }
+
+ public abstract void Apply (Control control);
+
+ [MonoTODO]
+ public virtual Control GetPreviewControl (Control
runtimeControl)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override string ToString ()
+ {
+ return base.ToString ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormat.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatCollection.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatCollection.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatCollection.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,186 @@
+//
+// System.ComponentModel.Design.Data.DesignerAutoFormatCollection
+//
+// 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.Drawing;
+using System.ComponentModel.Design;
+using System.ComponentModel;
+using System.Web.UI.WebControls;
+using System.Collections;
+
+namespace System.Web.UI.Design
+{
+ public sealed class DesignerAutoFormatCollection : IList, ICollection,
IEnumerable
+ {
+ public DesignerAutoFormatCollection ()
+ {
+ }
+
+ [MonoTODO]
+ public int Count {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public DesignerAutoFormat this [int index] {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Size PreviewSize {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public object SyncRoot {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public int Add (DesignerAutoFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Clear ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool Contains (DesignerAutoFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public int IndexOf (DesignerAutoFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Insert (int index, DesignerAutoFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Remove (DesignerAutoFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void RemoveAt (int index)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void ICollection.CopyTo (Array array, int index)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ int ICollection.Count {
+ get { return Count; }
+ }
+
+ [MonoTODO]
+ bool ICollection.IsSynchronized {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ IEnumerator IEnumerable.GetEnumerator ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ int IList.Add (object item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ bool IList.Contains (object item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ int IList.IndexOf (object item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void IList.Insert (int index, object item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void IList.Remove (object item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void IList.RemoveAt (int index)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ bool IList.IsFixedSize {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ bool IList.IsReadOnly {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ object IList.this [int index] {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatCollection.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatStyle.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatStyle.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatStyle.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -0,0 +1,55 @@
+//
+// System.ComponentModel.Design.Data.DesignerAutoFormat
+//
+// 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.Design;
+using System.ComponentModel;
+using System.Web.UI.WebControls;
+using System.Collections;
+
+namespace System.Web.UI.Design
+{
+ public class DesignerAutoFormatStyle : Style
+ {
+ public DesignerAutoFormatStyle ()
+ {
+ }
+
+ [MonoTODO]
+ public VerticalAlign VerticalAlign {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerAutoFormatStyle.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
2007-09-28 14:49:20 UTC (rev 86576)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
2007-09-28 15:02:28 UTC (rev 86577)
@@ -57,11 +57,13 @@
throw new NotImplementedException ();
}
+#if !NET_2_0
[MonoTODO]
public override string GetPersistInnerHtml ()
{
throw new NotImplementedException ();
}
+#endif
public virtual string GetTemplateContainerDataItemProperty
(string templateName)
{
@@ -120,11 +122,13 @@
throw new NotImplementedException ();
}
+#if !NET_2_0
[MonoTODO]
protected override void PreFilterProperties (IDictionary
properties)
{
throw new NotImplementedException ();
}
+#endif
[MonoTODO]
protected void SaveActiveTemplateEditingFrame ()
@@ -150,11 +154,13 @@
}
}
- protected virtual bool HidePropertiesInTemplateMode {
+#if !NET_2_0
+ protected internal virtual bool HidePropertiesInTemplateMode {
get {
return true;
}
}
+#endif
public bool InTemplateMode {
get {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches