Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
//
// System.Web.UI.Design.AppSettingsExpressionEditor
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
// (C) 2006 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;
namespace System.Web.UI.Design {
public class AppSettingsExpressionEditor : ExpressionEditor
{
public AppSettingsExpressionEditor ()
{
}
public override object EvaluateExpression (string expression, object parseTimeData, Type propertyType, IServiceProvider serviceProvider)
{
throw new NotImplementedException ();
}
public override ExpressionEditorSheet GetExpressionEditorSheet (string expression, IServiceProvider serviceProvider)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,48 @@
//
// System.Web.UI.Design.CalendarDataBindingHandler
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System;
using System.ComponentModel.Design;
namespace System.Web.UI.Design
{
public class CalendarDataBindingHandler : DataBindingHandler
{
public CalendarDataBindingHandler ()
{
}
[MonoTODO]
public override void DataBindControl (IDesignerHost designerHost, Control control)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,177 @@
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* DataFieldConverter.cs, DataMemberConverter.cs, DataSourceConverter.cs:
Use 'is' instead of 'as' and a null check. Found using Gendarme new
UseIsOperator rule.
2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
* HtmlControlDesigner.cs, WebControlToolboxItem.cs,
ResourceExpressionEditorSheet.cs, ReadWriteControlDesigner.cs,
UrlBuilder.cs :
Cosmetic 2.0 API fixes. Remove meaningless TypeConverter
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* 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 <atsushi@ximian.com>
* MailFileEditor.cs, MdbDataFileEditor.cs,
ResourceExpressionEditorSheet.cs, SkinIDTypeConverter.cs,
SupportsPreviewControlAttribute.cs,
TemplateModeChangedEventArgs.cs, TransactedChangeCallback.cs,
TypeSchema.cs, UserControlFileEditor.cs,
WebFormsDesignerActionService.cs, XmlDataFileEditor.cs,
XmlDocumentSchema.cs, XsdSchemaFileEditor.cs,
XslTransformFileEditor.cs : more 2.0 fiels.
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* DataColumnSelectionConverter.cs, DataSetFieldSchema.cs,
DataSetSchema.cs, DataSetViewSchema.cs,
DataSourceBooleanViewSchemaConverter.cs, DataSourceDesigner.cs,
DataSourceViewSchemaConverter.cs,
DesignerHierarchicalDataSourceView.cs,
IContentResolutionService.cs, IDataSourceSchema.cs,
IDesignTimeResourceProviderFactoryService.cs,
IDocumentProjectItem.cs, IFolderProjectItem.cs,
IHierarchicalDataSourceDesigner.cs, IWebAdministrationService.cs :
more new 2.0 files.
2007-10-01 Atsushi Enomoto <atsushi@ximian.com>
* ContentDefinition.cs, ContentDesignerState.cs,
ControlLocation.cs, DesignTimeResourceProviderFactory.cs,
IControlDesignerTag.cs, IControlDesignerView.cs,
IDesignTimeResourceWriter.cs, ViewEvent.cs, ViewEventArgs.cs,
ViewEventHandler.cs, WebFormsReferenceManager.cs,
WebFormsRootDesigner.cs : new stubs.
* ControlDesigner.cs : Added some more members. Uncomment
RootDesigner and Tag.
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* ControlDesigner.cs, TemplatedControlDesigner.cs :
Added some 2.0 members and excluded some non-2.0 stuff.
* ClientScriptItem.cs, ClientScriptItemCollection.cs,
ConnectionStringEditor.cs, ContainerControlDesigner.cs,
DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
DesignerAutoFormatStyle.cs : new stubs.
2007-09-27 Marek Habersack <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,
IDataBindingSchemaProvider.cs, IDataBindingSchemaProvider.cs,
TemplateGroupCollection.cs: added
2007-09-11 Marek Habersack <mhabersack@novell.com>
* ControlDesigner.cs: added a few 2.0 stubs
* DesignerRegion.cs: added
* DesignerObject.cs: added
* DesignerRegionCollection.cs: added
* ViewRendering.cs: added
* EditableDesignerRegion.cs: added
2007-01-12 Miguel de Icaza <miguel@novell.com>
* ControlDesigner.cs: Remove TODO/NIEX from this method.
2006-08-14 Raja R Harinath <rharinath@novell.com>
* IDataSourceFieldSchema.cs: New. Used by dll in #79012 testcase.
2006-01-22 Chris Toshok <toshok@ximian.com>
* IProjectItem.cs: new interface.
* IWebApplication.cs: new interface.
* ExpressionEditorSheet.cs: stubbed.
* ExpressionEditor.cs: stubbed.
* AppSettingsExpressionEditor.cs: stubbed.
* ResourceExpressionEditor.cs: stubbed.
2004-06-11 Gert Driesen <drieseng@users.sourceforge.net>
* CalendarDataBindingHandler.cs: stubbed
* ColorBuilder.cs: stubbed
* ControlParser.cs: stubbed
* ControlPersister.cs: stubbed
* DataBindingCollectionConverter.cs: stubbed
* DataBindingCollectionEditor.cs: stubbed
* DataBindingValueUIHandler.cs: stubbed
* DataFieldConverter.cs: stubbed
* DataMemberConverter.cs: stubbed
* DataSourceConverter.cs: stubbed
* DesignTimeData.cs: stubbed
* HtmlIntrinsicControlDesigner.cs: stubbed
* HyperLinkDataBindingHandler.cs: stubbed
* IControlDesignerBehaviour.cs: stubbed
* IDataSourceProvider.cs: stubbed
* ITemplateEditingFrame.cs: stubbed
* ITemplateEditingService.cs: stubbed
* IWebFormReferenceManager.cs: stubbed
* IWebFormsBuilderUIService.cs: stubbed
* IWebFormsDocumentService.cs: stubbed
* TemplateEditingService.cs: stubbed
* TemplateEditingVerb.cs: stubbed
* TemplatedControlDesigner.cs: stubbed
* TextControlDesigner.cs: stubbed
* TextDataBindingHandler.cs: stubbed
* UrlBuilder.cs: stubbed
* UserControlDesigner.cs: stubbed
* XmlFileEditor.cs: stubbed
2003-12-15 Jackson Harper <jackson@ximian.com>
* UrlEditor.cs:
* ImageUrlEditor.cs:
* XmlUrlEditor.cs:
* XslUrlEditor.cs:
* UrlBuilderOptions.cs: Implement
2003-10-20 Ben Maurer <bmaurer@users.sourceforge.net>
* ControlDesigner.cs, DataBindingCollection.cs,
HtmlControlDesigner.cs, IHtmlControlDesignerBehavior.cs,
ReadWriteControlDesigner.cs, WebControlToolboxItem.cs: Stub out files
2003-01-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* DataBindingHandler.cs : Implemented.

View File

@@ -0,0 +1,72 @@
//
// System.Web.UI.Design.ClientScriptItem
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.ComponentModel;
namespace System.Web.UI.Design
{
public sealed class ClientScriptItem
{
string text, source, language, type, id;
public ClientScriptItem (string text, string source, string language, string type, string id)
{
this.text = text;
this.source = source;
this.language = language;
this.type = type;
this.id = id;
}
public string Id {
get { return id; }
}
public string Language {
get { return language; }
}
public string Source {
get { return source; }
}
public string Text {
get { return text; }
}
public string Type{
get { return type; }
}
}
}
#endif

View File

@@ -0,0 +1,48 @@
//
// System.Web.UI.Design.ClientScriptItemCollection
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.Collections;
namespace System.Web.UI.Design
{
public sealed class ClientScriptItemCollection : ReadOnlyCollectionBase
{
public ClientScriptItemCollection (ClientScriptItem [] clientScriptItems)
{
if (clientScriptItems == null)
throw new ArgumentNullException ("clientScriptItems");
InnerList.AddRange (clientScriptItems);
}
}
}
#endif

View File

@@ -0,0 +1,47 @@
//
// System.Web.UI.Design.ColorBuilder
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.ComponentModel;
namespace System.Web.UI.Design
{
public sealed class ColorBuilder
{
private ColorBuilder ()
{
}
[MonoTODO]
public static string BuildColor (IComponent component, System.Windows.Forms.Control owner, string initialColor)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,75 @@
//
// System.Web.UI.Design.ConnectionStringEditor
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.ComponentModel;
using System.ComponentModel.Design.Data;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Security.Permissions;
namespace System.Web.UI.Design
{
[SecurityPermission (SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class ConnectionStringEditor : UITypeEditor
{
public ConnectionStringEditor ()
{
}
[MonoTODO]
public virtual object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual string GetProviderName (object instance)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual void SetProviderName (object instance, DesignerDataConnection connection)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,56 @@
//
// System.Web.UI.Design.ConnectionStringsExpressionEditor
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
// (C) 2006 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;
namespace System.Web.UI.Design {
public class ConnectionStringsExpressionEditor : ExpressionEditor
{
public ConnectionStringsExpressionEditor ()
{
}
public override object EvaluateExpression (string expression, object parseTimeData, Type propertyType, IServiceProvider serviceProvider)
{
throw new NotImplementedException ();
}
public override ExpressionEditorSheet GetExpressionEditorSheet (string expression, IServiceProvider serviceProvider)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,101 @@
//
// System.Web.UI.Design.ContainerControlDesigner
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.Collections;
using System.Drawing;
using System.Drawing.Design;
using System.Security.Permissions;
using System.Web.UI.WebControls;
namespace System.Web.UI.Design
{
[SecurityPermission (SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class ContainerControlDesigner : ControlDesigner
{
public ContainerControlDesigner ()
{
}
[MonoTODO]
public override bool AllowResize {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public virtual string FrameCaption {
get { throw new NotImplementedException (); }
}
[MonoTODO]
public virtual Style FrameStyle {
get { throw new NotImplementedException (); }
}
[MonoTODO]
protected virtual void AddDesignTimeCssAttributes (IDictionary styleAttributes)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual IDictionary GetDesignTimeCssAttributes ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string GetDesignTimeHtml (DesignerRegionCollection regions)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string GetEditableDesignerRegionContent (EditableDesignerRegion region)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string GetPersistenceContent ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void SetEditableDesignerRegionContent (EditableDesignerRegion region, string content)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,62 @@
//
// System.Web.UI.Design.ContentDefinition
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.ComponentModel;
namespace System.Web.UI.Design
{
public class ContentDefinition
{
string id, content, html;
public ContentDefinition (string id, string content, string designTimeHtml)
{
this.id = id;
this.content = content;
this.html = designTimeHtml;
}
public string ContentPlaceHolderID {
get { return id; }
}
public string DefaultContent {
get { return content; }
}
public string DefaultDesignTimeHtml {
get { return html; }
}
}
}
#endif

View File

@@ -0,0 +1,44 @@
//
// System.Web.UI.Design.ContentDefinition
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System.ComponentModel;
namespace System.Web.UI.Design
{
public enum ContentDesignerState
{
ShowDefaultContent,
ShowUserContent
}
}
#endif

View File

@@ -0,0 +1,336 @@
//
// 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.
//
using System;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Web.UI.WebControls;
using System.Windows.Forms;
namespace System.Web.UI.Design
{
[MonoTODO]
public class ControlDesigner : HtmlControlDesigner
{
public ControlDesigner () { }
[MonoTODO]
protected string CreatePlaceHolderDesignTimeHtml () { throw new NotImplementedException (); }
[MonoTODO]
protected string CreatePlaceHolderDesignTimeHtml (string instruction) { throw new NotImplementedException (); }
[MonoTODO]
public virtual string GetDesignTimeHtml () { throw new NotImplementedException (); }
#if NET_2_0
[MonoNotSupported ("")]
public static DesignTimeResourceProviderFactory GetDesignTimeResourceProviderFactory (IServiceProvider serviceProvider)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
public static ViewRendering GetViewRendering (Control control)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
public static ViewRendering GetViewRendering (ControlDesigner designer)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
protected string CreateErrorDesignTimeHtml (string errorMessage)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
protected string CreateErrorDesignTimeHtml (string errorMessage, Exception e)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
protected virtual Control CreateViewControl ()
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
public Rectangle GetBounds ()
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
public virtual string GetDesignTimeHtml (DesignerRegionCollection regions)
{ throw new NotImplementedException (); }
[MonoNotSupported ("")]
public virtual string GetEditableDesignerRegionContent (EditableDesignerRegion region) { throw new NotImplementedException (); }
[MonoNotSupported ("")]
public virtual void SetEditableDesignerRegionContent (EditableDesignerRegion region, string content) { throw new NotImplementedException (); }
[MonoNotSupported ("")]
public virtual string GetPersistenceContent ()
{
throw new NotImplementedException ();
}
[MonoNotSupported ("")]
public ViewRendering GetViewRendering ()
{
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
[MonoNotSupported ("")]
public override DesignerActionListCollection ActionLists {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
public virtual DesignerAutoFormatCollection AutoFormats {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
protected virtual bool DataBindingsEnabled {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
protected ControlDesignerState DesignerState {
[MonoNotSupported ("")]
get {
throw new NotImplementedException ();
}
}
[MonoNotSupported ("")]
protected internal virtual bool HidePropertiesInTemplateMode {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
public bool InTemplateMode {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
protected WebFormsRootDesigner RootDesigner {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
protected IControlDesignerTag Tag {
get { throw new NotImplementedException (); }
}
[MonoNotSupported ("")]
protected void SetViewFlags (ViewFlags viewFlags, bool setFlag)
{
throw new NotImplementedException ();
}
[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 ();
}
}
#endif
}
}

View File

@@ -0,0 +1,55 @@
//
// 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
{
internal ControlDesignerState ()
{
}
[MonoNotSupported ("")]
public object this [string key] {
[MonoNotSupported ("")]
get {
throw new NotImplementedException ();
}
[MonoNotSupported ("")]
set {
throw new NotImplementedException ();
}
}
}
}
#endif

View File

@@ -0,0 +1,46 @@
//
// System.Web.UI.Design.ControlLocation
//
// Author:
// Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2007 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
namespace System.Web.UI.Design
{
public enum ControlLocation
{
Before,
After,
First,
Last,
FirstChild,
LastChild
}
}
#endif

View File

@@ -0,0 +1,73 @@
//
// System.Web.UI.Design.ControlParser
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.ComponentModel.Design;
namespace System.Web.UI.Design
{
public sealed class ControlParser
{
private ControlParser ()
{
}
[MonoTODO]
public static Control ParseControl (IDesignerHost designerHost, string controlText)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static Control ParseControl (IDesignerHost designerHost, string controlText, string directives)
{
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 ();
}
[MonoTODO]
public static ITemplate ParseTemplate (IDesignerHost designerHost, string templateText, string directives)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,92 @@
//
// System.Web.UI.Design.ControlPersister
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.ComponentModel.Design;
using System.IO;
namespace System.Web.UI.Design
{
public sealed class ControlPersister
{
private ControlPersister ()
{
}
[MonoTODO]
public static string PersistControl (Control control)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static void PersistControl (TextWriter sw, Control control)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static string PersistControl (Control control, IDesignerHost host)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static void PersistControl (TextWriter sw, Control control, IDesignerHost host)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static string PersistInnerProperties (object component, IDesignerHost host)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static void PersistInnerProperties (TextWriter sw, object component, IDesignerHost host)
{
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
}
}

View File

@@ -0,0 +1,53 @@
//
// System.Web.UI.Design.DataBindingCollectionConverter
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.ComponentModel;
using System.Globalization;
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 ()
{
}
public override object ConvertTo (ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == typeof(string))
return string.Empty;
return base.ConvertTo (context, culture, value, destinationType);
}
}
}

View File

@@ -0,0 +1,56 @@
//
// System.Web.UI.Design.DataBindingCollectionEditor
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.ComponentModel;
using System.Drawing.Design;
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 ()
{
}
[MonoTODO]
public override object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
{
throw new NotImplementedException ();
}
public override UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
{
return UITypeEditorEditStyle.Modal;
}
}
}

View File

@@ -0,0 +1,47 @@
//
// 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.
//
/**
* Namespace: System.Web.UI.Design
* Class: DataBindingHandler
*
* Author: Gaurav Vaish
* Maintainer: gvaish_mono@lycos.com
*
* (C) Gaurav Vaish (2002)
*/
using System;
using System.ComponentModel.Design;
using System.Web.UI.WebControls;
namespace System.Web.UI.Design
{
public abstract class DataBindingHandler
{
protected DataBindingHandler()
{
}
public abstract void DataBindControl(IDesignerHost designerHost,
Control control);
}
}

View File

@@ -0,0 +1,48 @@
//
// System.Web.UI.Design.DataBindingValueUIHandler
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) 2004 Novell
//
//
// 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.
//
using System.Collections;
using System.ComponentModel;
namespace System.Web.UI.Design
{
public class DataBindingValueUIHandler
{
public DataBindingValueUIHandler ()
{
}
[MonoTODO]
public void OnGetUIValueItem (ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList valueUIItemList)
{
throw new NotImplementedException ();
}
}
}

Some files were not shown because too many files have changed in this diff Show More