Author: atsushi
Date: 2007-10-05 14:12:35 -0400 (Fri, 05 Oct 2007)
New Revision: 87002
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionConverter.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionEditor.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceConverter.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceDesigner.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/ControlDesignerState.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ControlParser.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionConverter.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionEditor.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DataSourceConverter.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/DesignTimeData.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditor.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditorSheet.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/HtmlControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IControlDesignerBehaviour.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IDesignTimeResourceWriter.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IHtmlControlDesignerBehavior.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingFrame.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingService.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormReferenceManager.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormsDocumentService.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ReadWriteControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ResourceExpressionEditorSheet.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingService.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingVerb.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/TextControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/UrlBuilder.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/UserControlDesigner.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/WebControlToolboxItem.cs
trunk/mcs/class/System.Design/System.Web.UI.Design/WebFormsRootDesigner.cs
Log:
2007-10-05 Atsushi Enomoto <[EMAIL PROTECTED]>
* ExpressionsCollectionConverter.cs,
ExpressionsCollectionEditor.cs,
HierarchicalDataSourceConverter.cs,
HierarchicalDataSourceDesigner.cs : more 2.0 files.
* ControlDesigner.cs, ControlDesignerState.cs, ControlParser.cs,
DataBindingCollectionConverter.cs, DataBindingCollectionEditor.cs,
DataSourceConverter.cs, DesignTimeData.cs, ExpressionEditor.cs,
ExpressionEditorSheet.cs, HtmlControlDesigner.cs,
IControlDesignerBehaviour.cs, IDataSourceDesigner.cs,
IDesignTimeResourceWriter.cs, IHtmlControlDesignerBehavior.cs,
ITemplateEditingFrame.cs, ITemplateEditingService.cs,
IWebFormReferenceManager.cs, IWebFormsDocumentService.cs,
ReadWriteControlDesigner.cs, ResourceExpressionEditorSheet.cs,
TemplateDefinition.cs, TemplateEditingService.cs,
TemplateEditingVerb.cs, TemplatedControlDesigner.cs,
TextControlDesigner.cs, UrlBuilder.cs, UserControlDesigner.cs,
ViewFlags.cs, WebControlToolboxItem.cs, WebFormsRootDesigner.cs:
a bunch of API fixes on existing files.
Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog 2007-10-05 17:32:57 UTC (rev
87001)
+++ trunk/mcs/class/System.Design/ChangeLog 2007-10-05 18:12:35 UTC (rev
87002)
@@ -6,6 +6,10 @@
* System.Design.dll.sources : more .NET 2.0 types.
+2007-10-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * System.Design.dll.sources : more .NET 2.0 types.
+
2007-10-02 Atsushi Enomoto <[EMAIL PROTECTED]>
* System.Design.dll.sources : more .NET 2.0 types.
Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources 2007-10-05
17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources 2007-10-05
18:12:35 UTC (rev 87002)
@@ -156,6 +156,10 @@
System.Web.UI.Design/EditableDesignerRegion.cs
System.Web.UI.Design/ExpressionEditor.cs
System.Web.UI.Design/ExpressionEditorSheet.cs
+System.Web.UI.Design/ExpressionsCollectionConverter.cs
+System.Web.UI.Design/ExpressionsCollectionEditor.cs
+System.Web.UI.Design/HierarchicalDataSourceConverter.cs
+System.Web.UI.Design/HierarchicalDataSourceDesigner.cs
System.Web.UI.Design/HtmlControlDesigner.cs
System.Web.UI.Design/HtmlIntrinsicControlDesigner.cs
System.Web.UI.Design/HyperLinkDataBindingHandler.cs
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ChangeLog
2007-10-05 18:12:35 UTC (rev 87002)
@@ -1,5 +1,26 @@
2007-10-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * ExpressionsCollectionConverter.cs,
+ ExpressionsCollectionEditor.cs,
+ HierarchicalDataSourceConverter.cs,
+ HierarchicalDataSourceDesigner.cs : more 2.0 files.
+ * ControlDesigner.cs, ControlDesignerState.cs, ControlParser.cs,
+ DataBindingCollectionConverter.cs, DataBindingCollectionEditor.cs,
+ DataSourceConverter.cs, DesignTimeData.cs, ExpressionEditor.cs,
+ ExpressionEditorSheet.cs, HtmlControlDesigner.cs,
+ IControlDesignerBehaviour.cs, IDataSourceDesigner.cs,
+ IDesignTimeResourceWriter.cs, IHtmlControlDesignerBehavior.cs,
+ ITemplateEditingFrame.cs, ITemplateEditingService.cs,
+ IWebFormReferenceManager.cs, IWebFormsDocumentService.cs,
+ ReadWriteControlDesigner.cs, ResourceExpressionEditorSheet.cs,
+ TemplateDefinition.cs, TemplateEditingService.cs,
+ TemplateEditingVerb.cs, TemplatedControlDesigner.cs,
+ TextControlDesigner.cs, UrlBuilder.cs, UserControlDesigner.cs,
+ ViewFlags.cs, WebControlToolboxItem.cs, WebFormsRootDesigner.cs:
+ a bunch of API fixes on existing files.
+
+2007-10-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* MailFileEditor.cs, MdbDataFileEditor.cs,
ResourceExpressionEditorSheet.cs, SkinIDTypeConverter.cs,
SupportsPreviewControlAttribute.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-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -25,6 +25,7 @@
using System.ComponentModel.Design;
using System.Drawing;
using System.Web.UI.WebControls;
+using System.Windows.Forms;
namespace System.Web.UI.Design
{
@@ -90,46 +91,154 @@
throw new NotImplementedException ();
}
+ [MonoTODO]
+ public void Invalidate ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Invalidate (Rectangle rectangle)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void InvokeTransactedChange (IComponent
component, TransactedChangeCallback callback, object context, string
description)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void InvokeTransactedChange (IComponent
component, TransactedChangeCallback callback, object context, string
description, MemberDescriptor member)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void InvokeTransactedChange (IServiceProvider
serviceProvider, IComponent component, TransactedChangeCallback callback,
object context, string description, MemberDescriptor member)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void Localize (IDesignTimeResourceWriter resourceWriter)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual void OnAutoFormatApplied (DesignerAutoFormat
appliedAutoFormat)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual void OnComponentChanging (object sender,
ComponentChangingEventArgs ce)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual void OnPaint (PaintEventArgs e)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void RegisterClone (object original, object clone)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected void SetRegionContent (EditableDesignerRegion region,
string content)
+ {
+ throw new NotImplementedException ();
+ }
#endif
+
[MonoTODO]
protected virtual string GetEmptyDesignTimeHtml () { throw new
NotImplementedException (); }
+
[MonoTODO]
protected virtual string GetErrorDesignTimeHtml (Exception e) {
throw new NotImplementedException (); }
+
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use GetPersistenceContent() instead")]
+#endif
public virtual string GetPersistInnerHtml () { throw new
NotImplementedException (); }
+
[MonoTODO]
public override void Initialize (IComponent component) { throw
new NotImplementedException (); }
+
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use DataBindings.Contains(string) instead")]
+#endif
public bool IsPropertyBound (string propName) { throw new
NotImplementedException (); }
+
+#if !NET_2_0
[MonoTODO]
protected override void OnBehaviorAttached () { throw new
NotImplementedException (); }
+#endif
+
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use DataBindings.Changed event instead")]
+#endif
protected override void OnBindingsCollectionChanged (string
propName) { throw new NotImplementedException (); }
+
#if NET_2_0
[MonoTODO]
protected virtual void OnClick (DesignerRegionMouseEventArgs e)
{ throw new NotImplementedException (); }
#endif
+
[MonoTODO]
public virtual void OnComponentChanged (object sender,
ComponentChangedEventArgs ce) { throw new NotImplementedException (); }
+
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use OnComponentChanged() instead")]
+#endif
protected virtual void OnControlResize () { throw new
NotImplementedException (); }
+
[MonoTODO]
protected override void PreFilterProperties (IDictionary
properties) { throw new NotImplementedException (); }
+
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use OnComponentChanged() instead")]
+#endif
public void RaiseResizeEvent () { throw new
NotImplementedException (); }
+
[MonoTODO]
public virtual void UpdateDesignTimeHtml () { throw new
NotImplementedException (); }
+
[MonoTODO]
public virtual bool AllowResize { get { throw new
NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("It is documented as not in use anymore", true)]
+#endif
protected object DesignTimeElementView { get { throw new
NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use
SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true)")]
+#endif
public virtual bool DesignTimeHtmlRequiresLoadComplete { get {
throw new NotImplementedException (); } }
[MonoTODO]
public virtual string ID { get { throw new
NotImplementedException (); } set { throw new NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use Tag.SetDirty() and Tag.IsDirty instead.")]
+#endif
public bool IsDirty { get { throw new NotImplementedException
(); } set { throw new NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use ContainerControlDesigner and
EditableDesignerRegion")]
+#endif
public bool ReadOnly { get { throw new NotImplementedException
(); } set { throw new NotImplementedException (); } }
#if NET_2_0
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlDesignerState.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -34,6 +34,10 @@
{
public sealed class ControlDesignerState
{
+ internal ControlDesignerState ()
+ {
+ }
+
[MonoNotSupported ("")]
public object this [string key] {
[MonoNotSupported ("")]
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ControlParser.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ControlParser.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ControlParser.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -50,7 +50,15 @@
throw new NotImplementedException ();
}
+#if NET_2_0
[MonoTODO]
+ public static Control[] ParseControls (IDesignerHost
designerHost, string controlText)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
+ [MonoTODO]
public static ITemplate ParseTemplate (IDesignerHost
designerHost, string templateText)
{
throw new NotImplementedException ();
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionConverter.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionConverter.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionConverter.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -33,6 +33,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("This class is not supposed to be in use anymore as
DesignerActionList is supposed to be used for editing DataBinding")]
+#endif
public class DataBindingCollectionConverter : TypeConverter
{
public DataBindingCollectionConverter ()
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionEditor.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionEditor.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/DataBindingCollectionEditor.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -33,6 +33,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("This class is not supposed to be in use anymore as
DesignerActionList is supposed to be used for editing DataBinding")]
+#endif
public class DataBindingCollectionEditor : UITypeEditor
{
public DataBindingCollectionEditor ()
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/DataSourceConverter.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/DataSourceConverter.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/DataSourceConverter.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -70,5 +70,13 @@
{
return ((context.Instance as IComponent) != null);
}
+
+#if NET_2_0
+ [MonoTODO]
+ protected virtual bool IsValidDataSource (IComponent component)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
}
}
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/DesignTimeData.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/DesignTimeData.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/DesignTimeData.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -40,7 +40,15 @@
{
}
+#if NET_2_0
[MonoTODO]
+ public static DataTable CreateDummyDataBoundDataTable ()
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
+ [MonoTODO]
public static DataTable CreateDummyDataTable ()
{
throw new NotImplementedException ();
@@ -52,7 +60,15 @@
throw new NotImplementedException ();
}
+#if NET_2_0
[MonoTODO]
+ public static DataTable CreateSampleDataTable (IEnumerable
referenceData, bool useDataBoundData)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
+ [MonoTODO]
public static PropertyDescriptorCollection GetDataFields
(IEnumerable dataSource)
{
throw new NotImplementedException ();
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditor.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditor.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditor.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -44,11 +44,11 @@
Type expressionBuilderType;
string prefixFromReflection;
- public ExpressionEditor ()
+ protected ExpressionEditor ()
{
}
- public virtual string ExpressionPrefix {
+ public string ExpressionPrefix {
get { return prefixFromReflection; }
}
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditorSheet.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditorSheet.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionEditorSheet.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -39,13 +39,14 @@
{
IServiceProvider serviceProvider;
- public ExpressionEditorSheet (IServiceProvider serviceProvider)
+ protected ExpressionEditorSheet (IServiceProvider
serviceProvider)
{
this.serviceProvider = serviceProvider;
}
public abstract string GetExpression ();
+ [Browsable (false)]
public virtual bool IsValid {
get {
throw new NotImplementedException ();
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionConverter.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionConverter.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionConverter.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -0,0 +1,56 @@
+//
+// System.Web.UI.Design.ExpressionsCollectionConverter
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// (C) 2007 Novell, Inc (http://www.novell.com)
+//
+
+//
+// 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;
+using System.Globalization;
+using System.Security.Permissions;
+
+namespace System.Web.UI.Design {
+
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class ExpressionsCollectionConverter : TypeConverter
+ {
+ public ExpressionsCollectionConverter ()
+ {
+ }
+
+ [MonoTODO]
+ public override object ConvertTo (ITypeDescriptorContext
context, CultureInfo culture, object value, Type destinationType)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionConverter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionEditor.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionEditor.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionEditor.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -0,0 +1,63 @@
+//
+// System.Web.UI.Design.ExpressionsCollectionEditor
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// (C) 2007 Novell, Inc (http://www.novell.com)
+//
+
+//
+// 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;
+using System.Drawing.Design;
+using System.Globalization;
+using System.Security.Permissions;
+
+namespace System.Web.UI.Design {
+
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class ExpressionsCollectionEditor : UITypeEditor
+ {
+ public ExpressionsCollectionEditor ()
+ {
+ }
+
+ [MonoTODO]
+ public override object EditValue (ITypeDescriptorContext
context, IServiceProvider provider, object value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override UITypeEditorEditStyle GetEditStyle
(ITypeDescriptorContext context)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/ExpressionsCollectionEditor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceConverter.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceConverter.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceConverter.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -0,0 +1,56 @@
+//
+// System.Web.UI.Design.HierarchicalDataSourceConverter
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// (C) 2007 Novell, Inc (http://www.novell.com)
+//
+
+//
+// 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;
+using System.Globalization;
+using System.Security.Permissions;
+
+namespace System.Web.UI.Design {
+
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class HierarchicalDataSourceConverter : DataSourceConverter
+ {
+ public HierarchicalDataSourceConverter ()
+ {
+ }
+
+ [MonoTODO]
+ protected override bool IsValidDataSource (IComponent component)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceConverter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceDesigner.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -0,0 +1,122 @@
+//
+// System.Web.UI.Design.HierarchicalDataSourceDesigner
+//
+// Author:
+// Atsushi Enomoto ([EMAIL PROTECTED])
+//
+// (C) 2007 Novell, Inc (http://www.novell.com)
+//
+
+//
+// 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;
+using System.ComponentModel.Design;
+using System.Globalization;
+using System.Security.Permissions;
+
+namespace System.Web.UI.Design {
+
+ [SecurityPermission (SecurityAction.Demand, Flags =
SecurityPermissionFlag.UnmanagedCode)]
+ public class HierarchicalDataSourceDesigner : ControlDesigner,
IHierarchicalDataSourceDesigner
+ {
+ public HierarchicalDataSourceDesigner ()
+ {
+ }
+
+ public event EventHandler DataSourceChanged;
+
+ public event EventHandler SchemaRefreshed;
+
+ [MonoTODO]
+ public override DesignerActionListCollection ActionLists {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public virtual bool CanConfigure {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public virtual bool CanRefreshSchema {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected bool SuppressingDataSourceEvents {
+ get { throw new NotImplementedException (); }
+ }
+
+ public virtual void Configure ()
+ {
+ throw new NotSupportedException ();
+ }
+
+ [MonoTODO]
+ public override string GetDesignTimeHtml ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual DesignerHierarchicalDataSourceView GetView
(string viewPath)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual void OnDataSourceChanged (EventArgs e)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual void OnSchemaRefreshed (EventArgs e)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual void RefreshSchema (bool preferSilent)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual void ResumeDataSourceEvents ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public virtual void SuppressDataSourceEvents ()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.Web.UI.Design/HierarchicalDataSourceDesigner.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/HtmlControlDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/HtmlControlDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/HtmlControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -21,6 +21,7 @@
//
using System;
using System.Collections;
+using System.ComponentModel;
using System.ComponentModel.Design;
using System.Web.UI;
using System.Web.UI.WebControls;
@@ -37,12 +38,21 @@
protected override void Dispose (bool disposing) { throw new
NotImplementedException (); }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use ControlDesigner.Tag instead")]
+#endif
protected virtual void OnBehaviorAttached () { throw new
NotImplementedException (); }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use ControlDesigner.Tag instead")]
+#endif
protected virtual void OnBehaviorDetaching () { throw new
NotImplementedException (); }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use DataBinding.Changed event instead")]
+#endif
protected virtual void OnBindingsCollectionChanged (string
propName) { throw new NotImplementedException (); }
[MonoTODO]
@@ -55,15 +65,31 @@
protected override void PreFilterProperties (IDictionary
properties) { throw new NotImplementedException (); }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use ControlDesigner.Tag instead")]
+#endif
public IHtmlControlDesignerBehavior Behavior { get { throw new
NotImplementedException (); } set { throw new NotImplementedException (); } }
[MonoTODO]
public DataBindingCollection DataBindings { get { throw new
NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use new WebFormsRootDesigner feature instead. It is
not used anymore", true)]
+#endif
protected object DesignTimeElement { get { throw new
NotImplementedException (); } }
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Code serialization is not supported in 2.0
anymore")]
+#endif
public virtual bool ShouldCodeSerialize { get { throw new
NotImplementedException (); } set { throw new NotImplementedException (); } }
+
+#if NET_2_0
+ public override void Initialize (IComponent component)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
}
}
\ No newline at end of file
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IControlDesignerBehaviour.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/IControlDesignerBehaviour.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/IControlDesignerBehaviour.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -30,6 +30,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Use IControlDesignerTag interface instead")]
+#endif
public interface IControlDesignerBehavior
{
void OnTemplateModeChanged ();
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/IDataSourceDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -35,6 +35,10 @@
{
public interface IDataSourceDesigner
{
+#if NET_2_0
+ event EventHandler DataSourceChanged;
+ event EventHandler SchemaRefreshed;
+#endif
bool CanConfigure { get; }
bool CanRefreshSchema { get; }
void Configure ();
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IDesignTimeResourceWriter.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/IDesignTimeResourceWriter.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/IDesignTimeResourceWriter.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -35,9 +35,10 @@
{
public interface IDesignTimeResourceWriter : IResourceWriter,
IDisposable
{
- void AddResource (string name, byte [] value);
- void AddResource (string name, object value);
- void AddResource (string name, string value);
+ //void AddResource (string name, byte [] value);
+ //void AddResource (string name, object value);
+ //void AddResource (string name, string value);
+ string CreateResourceKey (string resourceName, object obj);
}
}
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IHtmlControlDesignerBehavior.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/IHtmlControlDesignerBehavior.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/IHtmlControlDesignerBehavior.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -24,6 +24,9 @@
using System.Web.UI.WebControls;
namespace System.Web.UI.Design {
+#if NET_2_0
+ [Obsolete ("Use IControlDesignerTag and IControlDesignerView instead")]
+#endif
public interface IHtmlControlDesignerBehavior {
object GetAttribute (string attribute, bool ignoreCase);
object GetStyleAttribute (string attribute, bool
designTimeOnly, bool ignoreCase);
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingFrame.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingFrame.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingFrame.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -32,6 +32,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public interface ITemplateEditingFrame : IDisposable
{
void Close (bool saveChanges);
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingService.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingService.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ITemplateEditingService.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -32,6 +32,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public interface ITemplateEditingService
{
ITemplateEditingFrame CreateFrame (TemplatedControlDesigner
designer, string frameName, string[] templateNames);
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormReferenceManager.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormReferenceManager.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormReferenceManager.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -30,6 +30,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Use new WebFormsReferenceManager feature")]
+#endif
public interface IWebFormReferenceManager
{
Type GetObjectType (string tagPrefix, string typeName);
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormsDocumentService.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormsDocumentService.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/IWebFormsDocumentService.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -30,6 +30,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Use new WebFormsReferenceManager feature")]
+#endif
public interface IWebFormsDocumentService
{
event EventHandler LoadComplete;
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ReadWriteControlDesigner.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ReadWriteControlDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ReadWriteControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -25,11 +25,27 @@
using System.Collections;
namespace System.Web.UI.Design {
+#if NET_2_0
+ [Obsolete ("Use ContainerControlDesigner instead")]
+#endif
[MonoTODO] public class ReadWriteControlDesigner : ControlDesigner {
[MonoTODO] public ReadWriteControlDesigner () { throw new
NotImplementedException (); }
[MonoTODO] protected virtual void MapPropertyToStyle (string
propName, object varPropValue) { throw new NotImplementedException (); }
[MonoTODO] protected override void OnBehaviorAttached () {
throw new NotImplementedException (); }
[MonoTODO] public override void OnComponentChanged (object
sender, ComponentChangedEventArgs ce) { throw new NotImplementedException (); }
+#if NET_2_0
+ [MonoTODO]
+ public override string GetDesignTimeHtml ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void UpdateDesignTimeHtml ()
+ {
+ throw new NotImplementedException ();
+ }
+#endif
}
}
\ No newline at end of file
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/ResourceExpressionEditorSheet.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/ResourceExpressionEditorSheet.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/ResourceExpressionEditorSheet.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -31,6 +31,7 @@
#if NET_2_0
using System.Collections;
+using System.ComponentModel;
using System.Security.Permissions;
namespace System.Web.UI.Design
@@ -45,6 +46,7 @@
}
[MonoTODO]
+ [DefaultValue ("")]
public string ClassKey {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
@@ -56,6 +58,8 @@
}
[MonoTODO]
+ [DefaultValue ("")]
+ [TypeConverter ("")]
public string ResourceKey {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateDefinition.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -89,6 +89,14 @@
}
[MonoNotSupported ("")]
+ public bool ServerControlsOnly {
+ [MonoNotSupported ("")]
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoNotSupported ("")]
public Style Style {
[MonoNotSupported ("")]
get {
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingService.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingService.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingService.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -33,6 +33,9 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public sealed class TemplateEditingService : ITemplateEditingService,
IDisposable
{
public TemplateEditingService (IDesignerHost designerHost)
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingVerb.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingVerb.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/TemplateEditingVerb.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -33,8 +33,20 @@
namespace System.Web.UI.Design
{
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public class TemplateEditingVerb : DesignerVerb, IDisposable
{
+#if NET_2_0
+ [MonoTODO]
+ public TemplateEditingVerb (string text, int index)
+ : base (text, null)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
public TemplateEditingVerb (string text, int index,
TemplatedControlDesigner designer) : base (text,
designer.TemplateEditingVerbHandler)
{
_index = index;
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
===================================================================
---
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++
trunk/mcs/class/System.Design/System.Web.UI.Design/TemplatedControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -30,6 +30,7 @@
using System;
using System.Collections;
+using System.ComponentModel;
using System.ComponentModel.Design;
namespace System.Web.UI.Design
@@ -40,18 +41,45 @@
{
}
+#if NET_2_0
+ [MonoTODO]
+ public override void Initialize (IComponent component)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
protected abstract ITemplateEditingFrame
CreateTemplateEditingFrame (TemplateEditingVerb verb);
+
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
protected abstract TemplateEditingVerb[]
GetCachedTemplateEditingVerbs ();
+
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public abstract string GetTemplateContent
(ITemplateEditingFrame editingFrame, string templateName, out bool
allowEditing);
+
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public abstract void SetTemplateContent (ITemplateEditingFrame
editingFrame, string templateName, string templateContent);
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public void EnterTemplateMode (ITemplateEditingFrame
newTemplateEditingFrame)
{
throw new NotImplementedException ();
}
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public void ExitTemplateMode (bool fSwitchingTemplates, bool
fNested, bool fSave)
{
throw new NotImplementedException ();
@@ -65,17 +93,26 @@
}
#endif
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public virtual string GetTemplateContainerDataItemProperty
(string templateName)
{
return string.Empty;
}
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public virtual IEnumerable GetTemplateContainerDataSource
(string templateName)
{
return null;
}
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public TemplateEditingVerb[] GetTemplateEditingVerbs ()
{
throw new NotImplementedException ();
@@ -87,6 +124,9 @@
throw new NotImplementedException ();
}
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public virtual Type GetTemplatePropertyParentType (string
templateName)
{
return base.Component.GetType ();
@@ -99,6 +139,9 @@
}
[MonoTODO]
+#if NET_2_0
+ [Obsolete ("Use ControlDesigner.Tag instead")]
+#endif
protected override void OnBehaviorAttached ()
{
throw new NotImplementedException ();
@@ -142,6 +185,19 @@
throw new NotImplementedException ();
}
+#if NET_2_0
+ protected override bool DataBindingsEnabled {
+ get { throw new NotImplementedException (); }
+ }
+
+ public override TemplateGroupCollection TemplateGroups {
+ get { throw new NotImplementedException (); }
+ }
+#endif
+
+#if NET_2_0
+ [Obsolete ("Template editing is supported in
ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing,
true) in 2.0.")]
+#endif
public ITemplateEditingFrame ActiveTemplateEditingFrame {
get {
return _activeTemplateFrame;
@@ -162,6 +218,9 @@
}
#endif
+#if NET_2_0
+ [Obsolete ("Use ControlDesigner.InTemplateMode instead")]
+#endif
public bool InTemplateMode {
get {
return _templateMode;
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/TextControlDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/TextControlDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/TextControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -44,6 +44,7 @@
throw new NotImplementedException ();
}
+#if !NET_2_0
[MonoTODO]
public override string GetPersistInnerHtml ()
{
@@ -55,5 +56,6 @@
{
throw new NotImplementedException ();
}
+#endif
}
}
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/UrlBuilder.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/UrlBuilder.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/UrlBuilder.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -50,5 +50,13 @@
{
throw new NotImplementedException ();
}
+
+#if NET_2_0
+ [MonoTODO]
+ public static string BuildUrl (IServiceProvider
serviceProvider, Control owner, string initialUrl, string caption, string
filter, UrlBuilderOptions options)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
}
}
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/UserControlDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/UserControlDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/UserControlDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -44,17 +44,26 @@
return base.CreatePlaceHolderDesignTimeHtml ();
}
+#if !NET_2_0
public override string GetPersistInnerHtml ()
{
return null;
}
+#endif
+#if NET_2_0
+ public override DesignerActionListCollection ActionLists {
+ get { throw new NotImplementedException (); }
+ }
+#endif
+
public override bool AllowResize {
get {
return false;
}
}
+#if !NET_2_0
public override bool ShouldCodeSerialize {
get {
return false;
@@ -62,5 +71,6 @@
set {
}
}
+#endif
}
}
Modified: trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/ViewFlags.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -38,9 +38,9 @@
[FlagsAttribute]
public enum ViewFlags
{
- CustomPaint,
- DesignTimeHtmlRequiresLoadComplete,
- TemplateEditing
+ CustomPaint = 1,
+ DesignTimeHtmlRequiresLoadComplete = 2,
+ TemplateEditing = 4
}
}
#endif
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/WebControlToolboxItem.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/WebControlToolboxItem.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/WebControlToolboxItem.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -30,6 +30,9 @@
namespace System.Web.UI.Design
{
[MonoTODO]
+#if NET_2_0
+ [Serializable]
+#endif
public class WebControlToolboxItem : ToolboxItem
{
#region Public Instance Constructors
@@ -47,6 +50,13 @@
persistChildren = -1;
}
+#if NET_2_0
+ public WebControlToolboxItem (SerializationInfo info,
StreamingContext context)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
+
#endregion Public Instance Constructors
#region Override implementation of ToolboxItem
Modified:
trunk/mcs/class/System.Design/System.Web.UI.Design/WebFormsRootDesigner.cs
===================================================================
--- trunk/mcs/class/System.Design/System.Web.UI.Design/WebFormsRootDesigner.cs
2007-10-05 17:32:57 UTC (rev 87001)
+++ trunk/mcs/class/System.Design/System.Web.UI.Design/WebFormsRootDesigner.cs
2007-10-05 18:12:35 UTC (rev 87002)
@@ -67,6 +67,8 @@
protected internal abstract void GetControlViewAndTag (Control
control, out IControlDesignerView view, out IControlDesignerTag tag);
+ public abstract void RemoveClientScriptFromDocument (string
clientScriptId);
+
public abstract void RemoveControlFromDocument (Control
control);
[MonoTODO]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches