diff options
author | Sanja Gupta <sanjay@mono-cvs.ximian.com> | 2004-08-12 16:01:58 +0400 |
---|---|---|
committer | Sanja Gupta <sanjay@mono-cvs.ximian.com> | 2004-08-12 16:01:58 +0400 |
commit | 6c5c4e350daa504503b78c58251ba8792f7751c3 (patch) | |
tree | 3dcf8752946ae376e38b677b5ab0da1f0ddfae48 /mcs/class/System.Web | |
parent | 5f681faa0f7cb190cd4173328e00cfdb56bf9e0d (diff) |
ChangeLog: Updated ChangeLog.
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.
svn path=/trunk/mcs/; revision=32261
Diffstat (limited to 'mcs/class/System.Web')
14 files changed, 593 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ChangeLog b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ChangeLog index 7b95f5b8084..b37a0433d78 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ChangeLog @@ -1,3 +1,19 @@ +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: diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IField.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IField.cs new file mode 100644 index 00000000000..3912baefc58 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IField.cs @@ -0,0 +1,44 @@ +// +// System.Web.UI.WebControls.WebParts.IField.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 IField + { + object FieldValue { get; } + PropertyDescriptor Schema { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IFilter.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IFilter.cs new file mode 100644 index 00000000000..4f7c2408f05 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IFilter.cs @@ -0,0 +1,47 @@ +// +// System.Web.UI.WebControls.WebParts.IFilter.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.Specialized; + +namespace System.Web.UI.WebControls.WebParts +{ + public interface IFilter + { + void SetConsumerSchema (PropertyDescriptorCollection schema); + + IDictionary FilterData { get; } + PropertyDescriptorCollection Schema { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IParameters.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IParameters.cs new file mode 100644 index 00000000000..ea7a1a563fa --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IParameters.cs @@ -0,0 +1,47 @@ +// +// System.Web.UI.WebControls.WebParts.IParameters.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.Specialized; + +namespace System.Web.UI.WebControls.WebParts +{ + public interface IParameters + { + void SetConsumerSchema (PropertyDescriptorCollection schema); + + IDictionary ParametersData { get; } + PropertyDescriptorCollection Schema { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IPersonalizable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IPersonalizable.cs new file mode 100644 index 00000000000..eb268032440 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IPersonalizable.cs @@ -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.Specialized; + +namespace System.Web.UI.WebControls.WebParts +{ + public interface IPersonalizable + { + void Load (IDictionary sharedState, IDictionary userState); + void Save (IDictionary state); + + bool IsDirty { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IRow.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IRow.cs new file mode 100644 index 00000000000..7ea296e967a --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IRow.cs @@ -0,0 +1,44 @@ +// +// System.Web.UI.WebControls.WebParts.IRows.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 IRow + { + object RowData { get; } + PropertyDescriptorCollection Schema { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITable.cs new file mode 100644 index 00000000000..a0fbb02342d --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITable.cs @@ -0,0 +1,45 @@ +// +// System.Web.UI.WebControls.WebParts.ITable.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; +using System.ComponentModel; + +namespace System.Web.UI.WebControls.WebParts +{ + public interface ITable + { + PropertyDescriptorCollection Schema { get; } + ICollection TableData { get; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITrackingPersonalizable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITrackingPersonalizable.cs new file mode 100644 index 00000000000..25ce2562642 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITrackingPersonalizable.cs @@ -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 + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITransformerConfigurationControl.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITransformerConfigurationControl.cs new file mode 100644 index 00000000000..61c691b6845 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/ITransformerConfigurationControl.cs @@ -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 + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IVersioningPersonalizable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IVersioningPersonalizable.cs new file mode 100644 index 00000000000..cefaee7ea59 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IVersioningPersonalizable.cs @@ -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.Specialized; + +namespace System.Web.UI.WebControls.WebParts +{ + public interface IVersioningPersonalizable + { + void Load (IDictionary unknownProperties); + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebActionable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebActionable.cs new file mode 100644 index 00000000000..e7916a67c00 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebActionable.cs @@ -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 + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebEditable.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebEditable.cs new file mode 100644 index 00000000000..c5d9e8265f5 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebEditable.cs @@ -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 + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPart.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPart.cs new file mode 100644 index 00000000000..340239137f2 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPart.cs @@ -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 Caption { get; } + string CatalogIconImageUrl { get; set; } + string Description { get; set; } + string Title { get; set; } + string TitleIconImageUrl { get; set; } + string TitleUrl { get; set; } + } +} +#endif + diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPartHttpHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPartHttpHandler.cs new file mode 100644 index 00000000000..ac88457a532 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/IWebPartHttpHandler.cs @@ -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 + |