Author: mhabersack
Date: 2007-09-25 12:19:37 -0400 (Tue, 25 Sep 2007)
New Revision: 86343

Added:
   
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
   
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
   trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerDataSourceView.cs
   
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataBindingSchemaProvider.cs
   trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
   trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceViewSchema.cs
   trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
   
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedEditableDesignerRegion.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.WebControls/ChangeLog
   trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
Log:
2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>

        * System.Design.dll.sources: added
        System.Web.UI.Design/TemplateDefinition.cs,
        System.Web.UI.Design/TemplatedEditableDesignerRegion.cs,
        System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs,
        System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs,
        System.Web.UI.Design/IDataBindingSchemaProvider.cs,
        System.Web.UI.Design/IDataSourceDesigner.cs,
        System.Web.UI.Design/DesignerDataSourceView.

2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>

        * TemplatedEditableDesignerRegion.cs, TemplateDefinition.cs,
        IDataBindingSchemaProvider.cs, IDataBindingSchemaProvider.cs: added

2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>

        * DataBoundControlDesigner.cs: added




Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog     2007-09-25 16:04:22 UTC (rev 
86342)
+++ trunk/mcs/class/System.Design/ChangeLog     2007-09-25 16:19:37 UTC (rev 
86343)
@@ -1,3 +1,14 @@
+2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * System.Design.dll.sources: added
+       System.Web.UI.Design/TemplateDefinition.cs,
+       System.Web.UI.Design/TemplatedEditableDesignerRegion.cs,
+       System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs,
+       System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs,
+       System.Web.UI.Design/IDataBindingSchemaProvider.cs,
+       System.Web.UI.Design/IDataSourceDesigner.cs,
+       System.Web.UI.Design/DesignerDataSourceView.
+
 2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>
 
        * System.Design.dll.sources: added

Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources     2007-09-25 
16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources     2007-09-25 
16:19:37 UTC (rev 86343)
@@ -85,6 +85,7 @@
 System.Web.UI.Design/DataMemberConverter.cs
 System.Web.UI.Design/DataSourceConverter.cs
 System.Web.UI.Design/DesignTimeData.cs
+System.Web.UI.Design/DesignerDataSourceView.cs
 System.Web.UI.Design/DesignerObject.cs
 System.Web.UI.Design/DesignerRegion.cs
 System.Web.UI.Design/DesignerRegionCollection.cs
@@ -95,6 +96,9 @@
 System.Web.UI.Design/HtmlIntrinsicControlDesigner.cs
 System.Web.UI.Design/HyperLinkDataBindingHandler.cs
 System.Web.UI.Design/IControlDesignerBehaviour.cs
+System.Web.UI.Design/IDataBindingSchemaProvider.cs
+System.Web.UI.Design/IDataSourceDesigner.cs
+System.Web.UI.Design/IDataSourceViewSchema.cs
 System.Web.UI.Design/IDataSourceFieldSchema.cs
 System.Web.UI.Design/IDataSourceProvider.cs
 System.Web.UI.Design/IHtmlControlDesignerBehavior.cs
@@ -109,6 +113,8 @@
 System.Web.UI.Design/ReadWriteControlDesigner.cs
 System.Web.UI.Design/ResourceExpressionEditor.cs
 System.Web.UI.Design/TemplatedControlDesigner.cs
+System.Web.UI.Design/TemplateDefinition.cs
+System.Web.UI.Design/TemplatedEditableDesignerRegion.cs
 System.Web.UI.Design/TemplateEditingService.cs
 System.Web.UI.Design/TemplateEditingVerb.cs
 System.Web.UI.Design/TextControlDesigner.cs
@@ -143,6 +149,8 @@
 System.Web.UI.Design.WebControls/BaseDataListComponentEditor.cs
 System.Web.UI.Design.WebControls/ListControlDataBindingHandler.cs
 System.Web.UI.Design.WebControls/LabelDesigner.cs
+System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
+System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
 System.Web.UI.Design.WebControls/DataListComponentEditor.cs
 System.Web.UI.Design.Util/DummyClass.cs
 System.Windows.Forms.Design/AnchorEditor.cs

Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog        
2007-09-25 16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog        
2007-09-25 16:19:37 UTC (rev 86343)
@@ -1,3 +1,8 @@
+2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * TemplatedEditableDesignerRegion.cs, TemplateDefinition.cs,
+       IDataBindingSchemaProvider.cs, IDataBindingSchemaProvider.cs: added
+
 2007-09-11  Marek Habersack  <[EMAIL PROTECTED]>
 
        * ControlDesigner.cs: added a few 2.0 stubs

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerDataSourceView.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerDataSourceView.cs    
    2007-09-25 16:04:22 UTC (rev 86342)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignerDataSourceView.cs    
    2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,123 @@
+//
+// DesignerDataSourceView.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.Design
+{
+       public abstract class DesignerDataSourceView
+       {
+               [MonoNotSupported ("")]
+               protected DesignerDataSourceView (IDataSourceDesigner owner, 
string viewName)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanDelete {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanInsert {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanPage {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanRetrieveTotalRowCount {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanSort {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool CanUpdate {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public IDataSourceDesigner DataSourceDesigner {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public string Name {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual IDataSourceViewSchema Schema {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual IEnumerable GetDesignTimeData (int minimumRows, 
out bool isSampleData)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+#endif
\ No newline at end of file


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

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataBindingSchemaProvider.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataBindingSchemaProvider.cs
    2007-09-25 16:04:22 UTC (rev 86342)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataBindingSchemaProvider.cs
    2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,43 @@
+//
+// IDataBindingSchemaProvider.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.Design
+{
+       public interface IDataBindingSchemaProvider
+       {
+               bool CanRefreshSchema { get; }
+               IDataSourceViewSchema Schema { get; }
+               void RefreshSchema (bool preferSilent);
+       }
+}
+#endif
\ No newline at end of file


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

Added: trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs   
2007-09-25 16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs   
2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,48 @@
+//
+// IDataSourceDesigner.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.Design
+{
+       public interface IDataSourceDesigner
+       {
+               bool CanConfigure { get; }
+               bool CanRefreshSchema { get; }
+               void Configure ();
+               DesignerDataSourceView GetView (string viewName);
+               string[] GetViewNames ();
+               void RefreshSchema (bool preferSilent);
+               void ResumeDataSourceEvents ();
+               void SuppressDataSourceEvents ();
+       }
+}
+#endif


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

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceViewSchema.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceViewSchema.cs 
2007-09-25 16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceViewSchema.cs 
2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,43 @@
+//
+// IDataSourceViewSchema.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.Design
+{
+       public interface IDataSourceViewSchema
+       {
+               string Name { get; }
+               IDataSourceViewSchema[] GetChildren ();
+               IDataSourceFieldSchema[] GetFields ();
+       }
+}
+#endif
\ No newline at end of file


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

Added: trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs    
2007-09-25 16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs    
2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,129 @@
+//
+// TemplateDefinition.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.WebControls;
+
+namespace System.Web.UI.Design
+{
+       public class TemplateDefinition : DesignerObject
+       {               
+               [MonoNotSupported ("")]
+               public TemplateDefinition (ControlDesigner designer, string 
name, Object templatedObject, string templatePropertyName)
+                       : base (designer, name)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public TemplateDefinition (ControlDesigner designer, string 
name, Object templatedObject, string templatePropertyName,
+                                          bool serverControlsOnly)
+                       : base (designer, name)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public TemplateDefinition (ControlDesigner designer, string 
name, Object templatedObject, string templatePropertyName,
+                                          Style style)
+                       : base (designer, name)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public TemplateDefinition (ControlDesigner designer, string 
name, Object templatedObject, string templatePropertyName,
+                                          Style style, bool serverControlsOnly)
+                       : base (designer, name)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool AllowEditing {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual string Content {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public Style Style {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public bool SupportsDataBinding {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public object TemplatedObject {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public string TemplatePropertyName {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+#endif
\ No newline at end of file


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

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedEditableDesignerRegion.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedEditableDesignerRegion.cs
       2007-09-25 16:04:22 UTC (rev 86342)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedEditableDesignerRegion.cs
       2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,80 @@
+//
+// TemplatedEditableDesignerRegion.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.Web.UI.Design
+{
+       public class TemplatedEditableDesignerRegion : EditableDesignerRegion
+       {
+               [MonoNotSupported ("")]
+               public TemplatedEditableDesignerRegion (TemplateDefinition 
templateDefinition)
+                       : base (null, null)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool IsSingleInstanceTemplate {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public override bool SupportsDataBinding {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public TemplateDefinition TemplateDefinition {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+#endif


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

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
      2007-09-25 16:04:22 UTC (rev 86342)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
      2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,134 @@
+//
+// BaseDataBoundControlDesigner.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.ComponentModel;
+using System.Windows.Forms;
+using System.Web.UI.WebControls;
+
+namespace System.Web.UI.Design.WebControls
+{
+       public abstract class BaseDataBoundControlDesigner : ControlDesigner
+       {
+               [MonoNotSupported ("")]
+               protected BaseDataBoundControlDesigner ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public string DataSource {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public string DataSourceID {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               protected override void Dispose (bool disposing)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public override string GetDesignTimeHtml ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public override void Initialize (IComponent component)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public static DialogResult ShowCreateDataSourceDialog 
(ControlDesigner controlDesigner, Type dataSourceType,
+                                                                      bool 
configure, out string dataSourceID)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               protected abstract bool ConnectToDataSource ();
+               protected abstract void CreateDataSource ();
+               protected abstract void DataBind (BaseDataBoundControl 
dataBoundControl);
+               protected abstract void DisconnectFromDataSource ();
+
+               [MonoNotSupported ("")]
+               protected override string GetEmptyDesignTimeHtml ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override string GetErrorDesignTimeHtml (Exception e)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual void OnDataSourceChanged (bool 
forceUpdateView)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual void OnSchemaRefreshed ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override void PreFilterProperties (IDictionary 
properties)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+#endif
\ No newline at end of file


Property changes on: 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/BaseDataBoundControlDesigner.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/ChangeLog    
2007-09-25 16:04:22 UTC (rev 86342)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/ChangeLog    
2007-09-25 16:19:37 UTC (rev 86343)
@@ -1,3 +1,7 @@
+2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * DataBoundControlDesigner.cs: added
+
 2005-10-25  Chris Toshok  <[EMAIL PROTECTED]>
 
        * DataProviderNameConverter.cs: new implementation.

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
  2007-09-25 16:04:22 UTC (rev 86342)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
  2007-09-25 16:19:37 UTC (rev 86343)
@@ -0,0 +1,181 @@
+//
+// DataBoundControlDesigner.cs
+//
+// Author:
+//   Marek Habersack <[EMAIL PROTECTED]>
+//
+// (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.ComponentModel.Design;
+using System.Web.UI.WebControls;
+
+namespace System.Web.UI.Design.WebControls
+{
+       public class DataBoundControlDesigner : BaseDataBoundControlDesigner, 
IDataBindingSchemaProvider, IDataSourceProvider
+       {
+               [MonoNotSupported ("")]
+               public DataBoundControlDesigner ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public override DesignerActionListCollection ActionLists {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public string DataMember {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public IDataSourceDesigner DataSourceDesigner {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public DesignerDataSourceView DesignerView {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual int SampleRowCount {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual bool UseDataSourcePickerActionList {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               protected override void Dispose (bool disposing)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override bool ConnectToDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override void CreateDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override void DataBind (BaseDataBoundControl 
dataBoundControl)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override void DisconnectFromDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual IEnumerable GetDesignTimeDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected virtual IEnumerable GetSampleDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               protected override void PreFilterProperties (IDictionary 
properties)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               void IDataBindingSchemaProvider.RefreshSchema (bool 
preferSilent)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               IEnumerable IDataSourceProvider.GetResolvedSelectedDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               Object IDataSourceProvider.GetSelectedDataSource ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               bool IDataBindingSchemaProvider.CanRefreshSchema {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               IDataSourceViewSchema IDataBindingSchemaProvider.Schema {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+#endif
\ No newline at end of file


Property changes on: 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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

Reply via email to