Author: mhabersack
Date: 2007-09-27 04:35:52 -0400 (Thu, 27 Sep 2007)
New Revision: 86464

Added:
   trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
   trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.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.WebControls/DataBoundControlDesigner.cs
   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/ControlPersister.cs
Log:
2007-09-27  Marek Habersack  <[EMAIL PROTECTED]>

        * System.Design.dll.sources: added
        System.Web.UI.Design/ControlDesignerState.cs,
        System.Web.UI.Design/ViewFlags.cs
2007-09-27  Marek Habersack  <[EMAIL PROTECTED]>

        * 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  <[EMAIL PROTECTED]>

        * DataBoundControlDesigner.cs: TemplateGroups moved to
        ControlDesigner.



Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog     2007-09-27 08:07:18 UTC (rev 
86463)
+++ trunk/mcs/class/System.Design/ChangeLog     2007-09-27 08:35:52 UTC (rev 
86464)
@@ -1,3 +1,9 @@
+2007-09-27  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * System.Design.dll.sources: added
+       System.Web.UI.Design/ControlDesignerState.cs,
+       System.Web.UI.Design/ViewFlags.cs
+
 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-27 
08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources     2007-09-27 
08:35:52 UTC (rev 86464)
@@ -75,6 +75,7 @@
 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/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

Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog        
2007-09-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog        
2007-09-27 08:35:52 UTC (rev 86464)
@@ -1,3 +1,13 @@
+2007-09-27  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * 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  <[EMAIL PROTECTED]>
 
        * TemplatedEditableDesignerRegion.cs, TemplateDefinition.cs,

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-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs       
2007-09-27 08:35:52 UTC (rev 86464)
@@ -91,6 +91,54 @@
 
 #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 {
                                throw new NotImplementedException ();

Added: 
trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs  
2007-09-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs  
2007-09-27 08:35:52 UTC (rev 86464)
@@ -0,0 +1,51 @@
+//
+// ControlDesignerState.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;
+
+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


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

Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ControlPersister.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ControlPersister.cs      
2007-09-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlPersister.cs      
2007-09-27 08:35:52 UTC (rev 86464)
@@ -74,5 +74,19 @@
                {
                        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
        }
 }

Added: trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs     
2007-09-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs     
2007-09-27 08:35:52 UTC (rev 86464)
@@ -0,0 +1,46 @@
+//
+// ViewFlags.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
+{
+       [FlagsAttribute] 
+       public enum ViewFlags
+       {
+               CustomPaint,
+               DesignTimeHtmlRequiresLoadComplete,
+               TemplateEditing
+       }
+}
+#endif


Property changes on: 
trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.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-27 08:07:18 UTC (rev 86463)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/ChangeLog    
2007-09-27 08:35:52 UTC (rev 86464)
@@ -1,3 +1,8 @@
+2007-09-27  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * DataBoundControlDesigner.cs: TemplateGroups moved to
+       ControlDesigner.
+
 2007-09-25  Marek Habersack  <[EMAIL PROTECTED]>
 
        * DataBoundControlDesigner.cs: added

Modified: 
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-27 08:07:18 UTC (rev 86463)
+++ 
trunk/mcs/class/System.Design/System.Web.UI.Design.WebControls/DataBoundControlDesigner.cs
  2007-09-27 08:35:52 UTC (rev 86464)
@@ -87,14 +87,6 @@
                                throw new NotImplementedException ();
                        }
                }
-
-               [MonoNotSupported ("")]
-               public virtual TemplateGroupCollection TemplateGroups {
-                       [MonoNotSupported ("")]
-                       get {
-                               throw new NotImplementedException ();
-                       }
-               }
                
                [MonoNotSupported ("")]
                protected virtual bool UseDataSourcePickerActionList {

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

Reply via email to