2007-09-27 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Thu, 27 Sep 2007 08:35:52 +0000 (08:35 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 27 Sep 2007 08:35:52 +0000 (08:35 -0000)
        * System.Design.dll.sources: added
        System.Web.UI.Design/ControlDesignerState.cs,
        System.Web.UI.Design/ViewFlags.cs
2007-09-27  Marek Habersack  <mhabersack@novell.com>

        * ControlPersister.cs: added the PersistTemplate property stubs.

        * ControlDesignerState.cs: added

        * ControlDesigner.cs: added the DesignerState, SetViewFlags,
        TemplateGroups, ViewControl and ViewControlCreated property
        stubs.
2007-09-27  Marek Habersack  <mhabersack@novell.com>

        * DataBoundControlDesigner.cs: TemplateGroups moved to
        ControlDesigner.

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

mcs/class/System.Design/ChangeLog
mcs/class/System.Design/System.Design.dll.sources
mcs/class/System.Design/System.Web.UI.Design.WebControls/ChangeLog
mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
mcs/class/System.Design/System.Web.UI.Design/ChangeLog
mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs [new file with mode: 0644]
mcs/class/System.Design/System.Web.UI.Design/ControlPersister.cs
mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs [new file with mode: 0644]

index 19af37b5f1cd65d0aaf744162bcb6e19ed3870c6..8c02934b4dd3a3fabb0814757b63ea6332de7502 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-27  Marek Habersack  <mhabersack@novell.com>
+
+       * System.Design.dll.sources: added
+       System.Web.UI.Design/ControlDesignerState.cs,
+       System.Web.UI.Design/ViewFlags.cs
+
 2007-09-25  Marek Habersack  <mhabersack@novell.com>
 
        * System.Design.dll.sources: added
index 10d51155e9344c4fcd300301844bba7b8dc77d66..38a2fa89051d6327479dafe41b07ae7bd6ecbed9 100755 (executable)
@@ -75,6 +75,7 @@ System.Web.UI.Design/CalendarDataBindingHandler.cs
 System.Web.UI.Design/ColorBuilder.cs
 System.Web.UI.Design/ConnectionStringsExpressionEditor.cs
 System.Web.UI.Design/ControlDesigner.cs
+System.Web.UI.Design/ControlDesignerState.cs
 System.Web.UI.Design/ControlParser.cs
 System.Web.UI.Design/ControlPersister.cs
 System.Web.UI.Design/DataBindingCollectionConverter.cs
@@ -126,6 +127,7 @@ System.Web.UI.Design/UrlBuilder.cs
 System.Web.UI.Design/UrlBuilderOptions.cs
 System.Web.UI.Design/UrlEditor.cs
 System.Web.UI.Design/UserControlDesigner.cs
+System.Web.UI.Design/ViewFlags.cs
 System.Web.UI.Design/ViewRendering.cs
 System.Web.UI.Design/WebControlToolboxItem.cs
 System.Web.UI.Design/XmlFileEditor.cs
index 0c40b933e10e889b2d47c4a9089dfdd36337e4c9..4f8de489c0b1793503d8ad5bf2dfe00dcc6457e0 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-27  Marek Habersack  <mhabersack@novell.com>
+
+       * DataBoundControlDesigner.cs: TemplateGroups moved to
+       ControlDesigner.
+
 2007-09-25  Marek Habersack  <mhabersack@novell.com>
 
        * DataBoundControlDesigner.cs: added
index 5a09c2c33b2d190bd8f945ddf559e7376146fc2c..5c0f4415b055d034f9c9e482010eb1b4377989c5 100644 (file)
@@ -87,14 +87,6 @@ namespace System.Web.UI.Design.WebControls
                                throw new NotImplementedException ();
                        }
                }
-
-               [MonoNotSupported ("")]
-               public virtual TemplateGroupCollection TemplateGroups {
-                       [MonoNotSupported ("")]
-                       get {
-                               throw new NotImplementedException ();
-                       }
-               }
                
                [MonoNotSupported ("")]
                protected virtual bool UseDataSourcePickerActionList {
index 63eddc79caf573b849bc2b7d4ad9bdc75edd3c87..c9f15c90e0b7d7cfe364b9e23d9813d86570fab1 100644 (file)
@@ -1,3 +1,13 @@
+2007-09-27  Marek Habersack  <mhabersack@novell.com>
+
+       * ControlPersister.cs: added the PersistTemplate property stubs.
+
+       * ControlDesignerState.cs: added
+
+       * ControlDesigner.cs: added the DesignerState, SetViewFlags,
+       TemplateGroups, ViewControl and ViewControlCreated property
+       stubs.
+
 2007-09-25  Marek Habersack  <mhabersack@novell.com>
 
        * TemplatedEditableDesignerRegion.cs, TemplateDefinition.cs,
index 1dd3f7a2b08792c82f42eff84f495c883b2d3af0..7449ea211fe813072158e0a58708f2acdc44d982 100644 (file)
@@ -90,6 +90,54 @@ namespace System.Web.UI.Design
                public bool ReadOnly { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } }
 
 #if NET_2_0
+               [MonoNotSupported ("")]
+               protected ControlDesignerState DesignerState {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               protected void SetViewFlags (ViewFlags viewFlags, bool setFlag)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               [MonoNotSupported ("")]
+               public virtual TemplateGroupCollection TemplateGroups {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public Control ViewControl {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoNotSupported ("")]
+               public virtual bool ViewControlCreated {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+               
                [MonoNotSupported ("")]
                protected virtual bool UsePreviewControl {
                        get {
diff --git a/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs b/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
new file mode 100644 (file)
index 0000000..47b8d5f
--- /dev/null
@@ -0,0 +1,51 @@
+//
+// ControlDesignerState.cs
+//
+// Author:
+//   Marek Habersack <mhabersack@novell.com>
+//
+// (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;
+
+namespace System.Web.UI.Design
+{
+       public sealed class ControlDesignerState
+       {
+               [MonoNotSupported ("")]
+               public object this [string key] {
+                       [MonoNotSupported ("")]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoNotSupported ("")]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+#endif
\ No newline at end of file
index e0fa1ef480141da2fc9ebabc3d1c35b3c680ba26..c90fbfdf871f4400533c1d1ab33621923dd78285 100644 (file)
@@ -74,5 +74,19 @@ namespace System.Web.UI.Design
                {
                        throw new NotImplementedException ();
                }
+
+#if NET_2_0
+               [MonoNotSupported ("")]
+               public static string PersistTemplate (ITemplate template, IDesignerHost host)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoNotSupported ("")]
+               public static void PersistTemplate (TextWriter writer, ITemplate template, IDesignerHost host)
+               {
+                       throw new NotImplementedException ();
+               }
+#endif
        }
 }
diff --git a/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs b/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
new file mode 100644 (file)
index 0000000..f92d7f0
--- /dev/null
@@ -0,0 +1,46 @@
+//
+// ViewFlags.cs
+//
+// Author:
+//   Marek Habersack <mhabersack@novell.com>
+//
+// (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
+{
+       [FlagsAttribute] 
+       public enum ViewFlags
+       {
+               CustomPaint,
+               DesignTimeHtmlRequiresLoadComplete,
+               TemplateEditing
+       }
+}
+#endif