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,160 @@
2007-01-20 Miguel de Icaza <miguel@novell.com>
* WebPart.cs: Remove
* PersonalizableAttribute.cs: Remove extra API that was wrong as well.
2006-11-28 Miguel de Icaza <miguel@novell.com>
* WebPart.cs:
2006-11-25 Marek Habersack <grendello@gmail.com>
* PersonalizableAttribute.cs: A few optimizations.
2006-11-20 Marek Habersack <grendello@gmail.com>
* PersonalizableAttribute.cs: Implementation of the
PersonalizableAttribute class added.
2005-09-05 Chris Toshok <toshok@ximian.com>
* WebPartVerbCollection.cs: class is sealed.
2005-09-01 Chris Toshok <toshok@ximian.com>
* WebPart.cs: add some WebSysDescription/WebCategory attributes.
2005-08-31 Chris Toshok <toshok@ximian.com>
* ProviderConnectionPoint.cs: fix return types for GetObject and
GetSecondaryInterfaces.
* ConnectionInterfaceCollection.cs: new implementation.
2005-08-17 Chris Toshok <toshok@ximian.com>
* WebPart.cs: add basic stubbed out (and mostly NYI)
methods/properties.
* Part.cs: same.
2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
* ConnectionPoint.cs: Fix warning.
2004-11-11 Martin Baulig <martin@ximian.com>
* WebPart.cs: Don't use String.Empty in attributes.
2004-09-29 Sanjay Gupta <gsanjay@novell.com>
* WebPartVerb.cs: Added attributes.
2004-09-29 Sanjay Gupta <gsanjay@novell.com>
* ConnectionPoint.cs: Initial implementation.
* ConsumerConnectionPoint.cs:
* ProviderConnectionPoint.cs: Added stubs.
* TypeCollection.cs: Completed.
2004-09-29 Sanjay Gupta <gsanjay@novell.com>
* IWebPart.cs: Added new property and removed extra property.
* WebPart.cs: Corrected according to change in interface IWebPart.
2004-09-29 Sanjay Gupta <gsanjay@novell.com>
* WebPartPageMenuMode.cs: Added new enumeration.
2004-09-28 Sanjay Gupta <gsanjay@novell.com>
* Part.cs: Corrected access modifier of constructor.
2004-09-28 Sanjay Gupta <gsanjay@novell.com>
* WebPart.cs: Updated source and fixed bug 66907.
2004-09-28 Sanjay Gupta <gsanjay@novell.com>
* WebPartVerbCollection.cs: Completed and corrected implementation.
2004-09-28 Sanjay Gupta <gsanjay@novell.com>
* WebPartVerbCollection.cs: Initial implementation.
2004-09-28 Sanjay Gupta <gsanjay@novell.com>
* WebPartVerb.cs: Initial implementation.
2004-09-15 Gaurav Vaish <gaurav[dot]vaish[at]gmail[dot]com>
* Part.cs : Completed
* WebPart.cs : Initial implementation
2004-08-31 Sanjay Gupta <gsanjay@novell.com>
* ConnectionConsumerCallback.cs:
* ConnectionProviderCallback.cs:
* IFilter.cs:
* IParameters.cs:
* IPersonalizable.cs:
* IVersioningPersonalizable.cs:
* WebPartAuthorizationEventArgs.cs:
* WebPartAuthorizationEventHandler.cs:
* WebPartCancelEventHandler.cs:
* WebPartConnectionsEventHandler.cs:
* WebPartDisplayModeCancelEventHandler.cs:
* WebPartDisplayModeEventHandler.cs:
* WebPartEventHandler.cs:
* WebPartVerbsEventHandler.cs: Minor modifications, compiler error
corrections and removal of "sealed" specifier from *EventHandler.cs
* WebPartDisplayMode.cs: Added new file.
2004-08-12 Sanjay Gupta <gsanjay@novell.com>
* IField.cs:
* IFilter.cs:
* IParameters.cs:
* IPersonalizable.cs:
* IRow.cs:
* ITable.cs:
* ITrackingPersonalizable.cs:
* ITransformerConfigurationControl.cs:
* IVersioningPersonalizable.cs:
* IWebActionable.cs:
* IWebEditable.cs:
* IWebPart.cs:
* IWebPartHttpHandler.cs: Added new interfaces.
2004-08-12 Sanjay Gupta <gsanjay@novell.com>
* ConnectionConsumerCallback.cs:
* ConnectionProviderCallback.cs:
* WebPartAuthorizationEventArgs.cs:
* WebPartAuthorizationEventHandler.cs:
* WebPartCancelEventArgs.cs:
* WebPartCancelEventHandler.cs:
* WebPartConnectionsEventArgs.cs:
* WebPartConnectionsEventHandler.cs:
* WebPartDisplayModeCancelEventArgs.cs:
* WebPartDisplayModeCancelEventHandler.cs:
* WebPartDisplayModeEventArgs.cs:
* WebPartDisplayModeEventHandler.cs:
* WebPartEventArgs.cs:
* WebPartEventHandler.cs:
* WebPartVerbsEventArgs.cs:
* WebPartVerbsEventHandler.cs: Added new EventArgs and EventHandler.
2004-08-03 Sanjay Gupta <gsanjay@novell.com>
* ConnectionPointType.cs : Implemented enumeration.
* PartChromeState.cs : Implemented enumeration.
* PartChromeType.cs : Implemented enumeration.
* PersonalizationScope.cs : Implemented enumeration.
* WebPartExportMode.cs : Implemented enumeration.
* WebPartHelpMode.cs : Implemented enumeration.

View File

@ -0,0 +1,36 @@
//
// System.Web.UI.WebControls.WebParts.ConnectionConsumerCallback.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts {
public delegate void ConnectionConsumerCallback (object conn);
}
#endif

View File

@ -0,0 +1,81 @@
//
// System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection.cs
//
// Author:
// Chris Toshok (toshok@ximian.com)
//
// (C) 2005 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.Collections;
using System.Collections.Specialized;
using System.Reflection;
namespace System.Web.UI.WebControls.WebParts
{
public sealed class ConnectionInterfaceCollection : ReadOnlyCollectionBase
{
public static readonly ConnectionInterfaceCollection Empty = new ConnectionInterfaceCollection();
public ConnectionInterfaceCollection ()
{
}
public ConnectionInterfaceCollection (ICollection connectionInterfaces)
{
InnerList.AddRange (connectionInterfaces);
}
public ConnectionInterfaceCollection (ConnectionInterfaceCollection existingConnectionInterfaces,
ICollection connectionInterfaces)
: this()
{
InnerList.AddRange (existingConnectionInterfaces);
InnerList.AddRange (connectionInterfaces);
}
public bool Contains (Type t)
{
return InnerList.Contains (t);
}
public void CopyTo (Type[] array,
int index)
{
InnerList.CopyTo (array, index);
}
public int IndexOf (Type t)
{
return InnerList.IndexOf (t);
}
public Type this [ int index ] {
get {
return (Type)InnerList [index];
}
}
}
}
#endif

View File

@ -0,0 +1,87 @@
//
// System.Web.UI.WebControls.WebParts.ConnectionPoint.cs
//
// Author: Sanjay Gupta (gsanjay@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.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
using System.Web;
using System.Reflection;
namespace System.Web.UI.WebControls.WebParts {
public abstract class ConnectionPoint
{
bool allowMultiConn;
string name = string.Empty;
string id = "default";
Type interfaceType;
Type controlType;
MethodInfo callBackMethod;
public const string DefaultID = "default";
internal ConnectionPoint (MethodInfo callBack, Type interFace,
Type control, string name, string id,
bool allowsMultiConnections)
{
this.allowMultiConn = allowsMultiConnections;
this.interfaceType = interFace;
this.controlType = control;
this.name = name;
this.id = id;
this.callBackMethod = callBack;
}
internal MethodInfo CallbackMethod {
get{ return callBackMethod; }
}
[MonoTODO ("Not implemented")]
public virtual bool GetEnabled (Control control)
{
throw new NotImplementedException ();
}
public bool AllowsMultipleConnections {
get { return allowMultiConn; }
}
public Type ControlType {
get { return controlType; }
}
public string ID {
get { return id; }
}
public Type InterfaceType {
get { return interfaceType; }
}
public string Name {
get { return name;}
}
}
}
#endif

View File

@ -0,0 +1,35 @@
//
// System.Web.UI.WebControls.WebParts.ConnectionPointType.cs
//
// Author: Sanjay Gupta (gsanjay@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.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
namespace System.Web.UI.WebControls.WebParts {
public enum ConnectionPointType {
Consumer = 0,
Provider = 1
}
}
#endif

View File

@ -0,0 +1,36 @@
//
// System.Web.UI.WebControls.WebParts.ConnectionProviderCallback.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts {
public delegate object ConnectionProviderCallback ();
}
#endif

View File

@ -0,0 +1,57 @@
//
// System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint.cs
//
// Author: Sanjay Gupta (gsanjay@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.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
#if NET_2_0
using System.Web;
using System.Reflection;
namespace System.Web.UI.WebControls.WebParts
{
public class ConsumerConnectionPoint : ConnectionPoint
{
public ConsumerConnectionPoint (MethodInfo callBack, Type interFace,
Type control, string name, string id,
bool allowsMultiConnections) : base (callBack, interFace,
control, name, id, allowsMultiConnections)
{
}
[MonoTODO ("Not implemented")]
public virtual void SetObject (Control control, object data)
{
throw new NotImplementedException ();
}
[MonoTODO ("Not implemented")]
public virtual bool SupportsConnection (Control control,
TypeCollection interfaces)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@ -0,0 +1,112 @@
//
// System.Web.UI.WebControls.WebParts.EditorPart.cs
//
// 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.Collections;
using System.ComponentModel;
namespace System.Web.UI.WebControls.WebParts
{
[BindableAttribute(false)]
[Designer ("System.Web.UI.Design.WebControls.WebParts.EditorPartDesigner, " + Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
public abstract class EditorPart : Part
{
bool display = true;
#pragma warning disable 0649
WebPart webPartToEdit;
#if false
WebPartManager manager;
EditorZoneBase zone;
#endif
object zone;
string displayTitle;
#pragma warning restore 0649
protected EditorPart() {}
public abstract bool ApplyChanges ();
protected override IDictionary GetDesignModeState ()
{
throw new NotImplementedException ();
}
protected internal override void OnPreRender (EventArgs e)
{
if(zone == null)
throw new InvalidOperationException();
base.OnPreRender(e);
if(!Display)
Visible = false;
}
#if false
protected override void SetDesignModeState (IDictionary data)
{
EditorZoneBase stateZone = data["Zone"] as EditorZoneBase;
if(stateZone != null)
zone = stateZone;
}
#endif
public abstract void SyncChanges ();
[Browsable (false)]
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
public virtual bool Display {
get {
return display;
}
}
[Browsable (false)]
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
public string DisplayTitle {
get { return displayTitle; }
}
#if false
protected WebPartManager WebPartManager {
get { throw new NotImplementedException (); }
}
#endif
protected WebPart WebPartToEdit {
get { return webPartToEdit; }
}
#if false
protected EditorZoneBase Zone {
get { throw new NotImplementedException (); }
}
#endif
}
}
#endif

View File

@ -0,0 +1,85 @@
//
// System.Web.UI.WebControls.WebParts.EditorPartCollection.cs
//
// 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.Collections;
namespace System.Web.UI.WebControls.WebParts
{
public sealed class EditorPartCollection : ReadOnlyCollectionBase
{
public static readonly EditorPartCollection Empty = new EditorPartCollection ();
public EditorPartCollection ()
{
}
public EditorPartCollection (ICollection editorParts)
{
foreach (object o in editorParts) {
/* XXX check the type? */
InnerList.Add (o);
}
}
public EditorPartCollection (EditorPartCollection existingEditorParts,
ICollection editorParts)
{
foreach (object o in existingEditorParts)
InnerList.Add (o);
foreach (object o in editorParts)
InnerList.Add (o);
}
public bool Contains (EditorPart editorPart)
{
return InnerList.Contains (editorPart);
}
public void CopyTo (EditorPart[] array,
int index)
{
((ICollection)this).CopyTo (array, index);
}
public int IndexOf (EditorPart editorPart)
{
return InnerList.IndexOf (editorPart);
}
public EditorPart this [ int index ] {
get { return (EditorPart) InnerList[index]; }
}
}
}
#endif

View File

@ -0,0 +1,46 @@
//
// System.Web.UI.WebControls.WebParts.IPersonalizable.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.Collections;
namespace System.Web.UI.WebControls.WebParts
{
public interface IPersonalizable
{
void Load (IDictionary sharedState, IDictionary userState);
void Save (IDictionary state);
bool IsDirty { get; }
}
}
#endif

View File

@ -0,0 +1,48 @@
//
// System.Web.UI.WebControls.WebParts.ITrackingPersonalizable.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.Collections.Specialized;
namespace System.Web.UI.WebControls.WebParts
{
public interface ITrackingPersonalizable
{
void BeginLoad ();
void BeginSave ();
void EndLoad ();
void EndSave ();
bool TracksChanges { get; }
}
}
#endif

View File

@ -0,0 +1,42 @@
//
// System.Web.UI.WebControls.WebParts.ITransformerConfigurationControl.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts
{
public interface ITransformerConfigurationControl
{
event EventHandler Cancelled;
event EventHandler Succeeded;
}
}
#endif

View File

@ -0,0 +1,43 @@
//
// System.Web.UI.WebControls.WebParts.IVersioningPersonalizable.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.Collections;
namespace System.Web.UI.WebControls.WebParts
{
public interface IVersioningPersonalizable
{
void Load (IDictionary unknownProperties);
}
}
#endif

View File

@ -0,0 +1,41 @@
//
// System.Web.UI.WebControls.WebParts.IWebActionable.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebActionable
{
WebPartVerbCollection Verbs { get; }
}
}
#endif

View File

@ -0,0 +1,43 @@
//
// System.Web.UI.WebControls.WebParts.IWebEditable.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebEditable
{
EditorPartCollection CreateEditorParts ();
object WebBrowsableObject { get; }
}
}
#endif

View File

@ -0,0 +1,46 @@
//
// System.Web.UI.WebControls.WebParts.IWebPart.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebPart
{
string CatalogIconImageUrl { get; set; }
string Description { get; set; }
string Subtitle { get; }
string Title { get; set; }
string TitleIconImageUrl { get; set; }
string TitleUrl { get; set; }
}
}
#endif

View File

@ -0,0 +1,46 @@
//
// System.Web.UI.WebControls.WebParts.IWebPartField.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.ComponentModel;
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebPartField
{
void GetFieldValue (FieldCallback callback);
PropertyDescriptor Schema { get; }
}
public delegate void FieldCallback (object fieldValue);
}
#endif

View File

@ -0,0 +1,41 @@
//
// System.Web.UI.WebControls.WebParts.IWebPartHttpHandler.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebPartHttpHandler
{
PersonalizationScope DesiredScope { get; }
}
}
#endif

View File

@ -0,0 +1,49 @@
//
// System.Web.UI.WebControls.WebParts.IWebPartParameters.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.ComponentModel;
using System.Collections;
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebPartParameters
{
void SetConsumerSchema (PropertyDescriptorCollection schema);
void GetParametersData (ParametersCallback callback);
PropertyDescriptorCollection Schema { get; }
}
public delegate void ParametersCallback (IDictionary parametersData);
}
#endif

View File

@ -0,0 +1,46 @@
//
// System.Web.UI.WebControls.WebParts.IWebPartRow.cs
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 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.ComponentModel;
namespace System.Web.UI.WebControls.WebParts
{
public interface IWebPartRow
{
void GetRowData (RowCallback callback);
PropertyDescriptorCollection Schema { get; }
}
public delegate void RowCallback (object rowData);
}
#endif

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