From e02dddc7472da40491cb2599e175d5c7816ba223 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 25 Sep 2013 19:03:05 +1000 Subject: [PATCH] obsoleting legacy prop eds --- .../MultiNodeTreePicker/BaseTreeExtensions.cs | 1 + .../MultiNodeTreePicker/FilteredContentTree.cs | 1 + .../MultiNodeTreePicker/FilteredMediaTree.cs | 1 + .../MultiNodeTreePicker/HttpCookieExtensions.cs | 1 + .../MultiNodeTreePicker/MNTPResources.Designer.cs | 3 +++ .../MultiNodeTreePicker/MNTP_DataEditor.cs | 1 + .../MultiNodeTreePicker/MNTP_DataType.cs | 1 + .../MultiNodeTreePicker/MNTP_PrevalueEditor.cs | 1 + .../MultiNodeTreePicker/NodeSelectionType.cs | 5 ++++- .../MultiNodeTreePicker/SelectedItemsTemplate.cs | 2 ++ .../MultiNodeTreePicker/XPathExpressionType.cs | 5 ++++- .../MultiNodeTreePicker/XPathFilterType.cs | 5 ++++- .../MultiNodeTreePicker/XmlTreeNodeExtensions.cs | 4 +++- .../MultipleTextstring/MultipleTextstringControl.cs | 1 + .../MultipleTextstring/MultipleTextstringDataType.cs | 1 + .../MultipleTextstring/MultipleTextstringOptions.cs | 4 +++- .../MultipleTextstring/MultipleTextstringPrevalueEditor.cs | 1 + .../checkboxlist/CheckBoxDataType.cs | 1 + src/umbraco.editorControls/checkboxlist/checkboxList.cs | 1 + .../colorpicker/ColorPickerDataType.cs | 1 + src/umbraco.editorControls/colorpicker/colorPicker.cs | 4 +--- .../datefieldmultiple/DataTypeDatefieldMultiple.cs | 1 + src/umbraco.editorControls/datepicker/DateData.cs | 1 + src/umbraco.editorControls/datepicker/DateDataType.cs | 1 + src/umbraco.editorControls/datepicker/dateField.cs | 4 +--- .../dictionaryPicker/dictionaryPicker.cs | 1 + .../dictionaryPicker/dictionaryPickerDataType.cs | 1 + .../dropdownlist/DropDownDataType.cs | 1 + .../dropdownlist/dropDownKeysDataType.cs | 1 + src/umbraco.editorControls/dropdownlist/dropdown.cs | 1 + .../folderbrowser/DataTypeFolderbrowser.cs | 4 +--- src/umbraco.editorControls/folderbrowser/folderBrowser.cs | 1 + src/umbraco.editorControls/imagecropper/Config.cs | 1 + src/umbraco.editorControls/imagecropper/Data.cs | 7 ++++++- src/umbraco.editorControls/imagecropper/DataEditor.cs | 1 + src/umbraco.editorControls/imagecropper/DataType.cs | 1 + src/umbraco.editorControls/imagecropper/DataTypeData.cs | 4 +++- src/umbraco.editorControls/imagecropper/Helper.cs | 4 +++- src/umbraco.editorControls/imagecropper/ImageInfo.cs | 1 + .../imagecropper/ImageManipulation.cs | 1 + src/umbraco.editorControls/imagecropper/PrevalueEditor.cs | 1 + .../imagecropper/Resources.Designer.cs | 3 +++ src/umbraco.editorControls/imagecropper/SaveData.cs | 1 + src/umbraco.editorControls/imagecropper/SmartListBox.cs | 4 +++- src/umbraco.editorControls/label/DataTypeNoEdit.cs | 1 + src/umbraco.editorControls/label/noEdit.cs | 1 + src/umbraco.editorControls/listbox/ListBoxDataType.cs | 1 + src/umbraco.editorControls/listbox/ListBoxKeysDataType.cs | 1 + src/umbraco.editorControls/listbox/dropdownMultiple.cs | 1 + src/umbraco.editorControls/macrocontainer/DataType.cs | 1 + src/umbraco.editorControls/macrocontainer/Editor.cs | 1 + .../macrocontainer/MacroContainerEvent.cs | 1 + src/umbraco.editorControls/macrocontainer/MacroEditor.cs | 1 + .../macrocontainer/PrevalueEditor.cs | 1 + .../mediapicker/MediaPickerDataType.cs | 1 + .../mediapicker/MediaPickerPrevalueEditor.cs | 1 + src/umbraco.editorControls/mediapicker/mediaChooser.cs | 1 + .../memberpicker/MemberPickerDataType.cs | 1 + src/umbraco.editorControls/memberpicker/memberPicker.cs | 1 + src/umbraco.editorControls/numberfield/DataInteger.cs | 1 + src/umbraco.editorControls/numberfield/DataTypeInteger.cs | 1 + src/umbraco.editorControls/numberfield/numberField.cs | 1 + 62 files changed, 91 insertions(+), 18 deletions(-) diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/BaseTreeExtensions.cs b/src/umbraco.editorControls/MultiNodeTreePicker/BaseTreeExtensions.cs index e13bac456d..cbf3b3b9e5 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/BaseTreeExtensions.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/BaseTreeExtensions.cs @@ -9,6 +9,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// BaseTree extensions for MultiNodeTreePicker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public static class BaseTreeExtensions { diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/FilteredContentTree.cs b/src/umbraco.editorControls/MultiNodeTreePicker/FilteredContentTree.cs index 664282ec89..40dfce710b 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/FilteredContentTree.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/FilteredContentTree.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// FilteredContentTree for the MultiNodeTreePicker /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class FilteredContentTree : BaseContentTree { /// diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/FilteredMediaTree.cs b/src/umbraco.editorControls/MultiNodeTreePicker/FilteredMediaTree.cs index 764d7ee522..8faea4e395 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/FilteredMediaTree.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/FilteredMediaTree.cs @@ -9,6 +9,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// FilteredMediaTree for the MultiNodeTreePicker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class FilteredMediaTree : BaseMediaTree { /// diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/HttpCookieExtensions.cs b/src/umbraco.editorControls/MultiNodeTreePicker/HttpCookieExtensions.cs index e03b5c2533..30c34a0a1a 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/HttpCookieExtensions.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/HttpCookieExtensions.cs @@ -13,6 +13,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// it is much more complicated to try to persist these values between ajax request, /// given the tree's current architecture. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public static class HttpCookieExtensions { diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.Designer.cs b/src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.Designer.cs index b5a6344eae..645332f848 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.Designer.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/MNTPResources.Designer.cs @@ -8,6 +8,8 @@ // //------------------------------------------------------------------------------ +using System; + namespace umbraco.editorControls.MultiNodeTreePicker { @@ -22,6 +24,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MNTPResources { private static global::System.Resources.ResourceManager resourceMan; diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataEditor.cs b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataEditor.cs index fde7e6cac0..1786aea4ff 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataEditor.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataEditor.cs @@ -27,6 +27,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker [ClientDependency(ClientDependencyType.Javascript, "ui/jquery.tooltip.min.js", "UmbracoClient")] [ClientDependency(ClientDependencyType.Javascript, "controls/Images/ImageViewer.js", "UmbracoRoot")] [ValidationProperty("Value")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MNTP_DataEditor : Control, INamingContainer { #region Static Constructor diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataType.cs b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataType.cs index f37ff146e1..1933b1dc8d 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataType.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_DataType.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// Multi-node tree picker data type /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MNTP_DataType : AbstractDataEditor { diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_PrevalueEditor.cs b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_PrevalueEditor.cs index dbdc356273..7ae2e83153 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_PrevalueEditor.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/MNTP_PrevalueEditor.cs @@ -14,6 +14,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// The pre-value editor for the multi node tree picker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MNTP_PrevalueEditor : Control, IDataPrevalue { private readonly umbraco.cms.businesslogic.datatype.BaseDataType m_DataType; diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/NodeSelectionType.cs b/src/umbraco.editorControls/MultiNodeTreePicker/NodeSelectionType.cs index 76dc493cee..048e1d9dc8 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/NodeSelectionType.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/NodeSelectionType.cs @@ -1,8 +1,11 @@ -namespace umbraco.editorControls.MultiNodeTreePicker +using System; + +namespace umbraco.editorControls.MultiNodeTreePicker { /// /// /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public enum NodeSelectionType { /// diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/SelectedItemsTemplate.cs b/src/umbraco.editorControls/MultiNodeTreePicker/SelectedItemsTemplate.cs index 92b999457d..f344fd0f4c 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/SelectedItemsTemplate.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/SelectedItemsTemplate.cs @@ -1,3 +1,4 @@ +using System; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; @@ -10,6 +11,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// The item template for the selected items repeater /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] internal class SelectedItemsTemplate : ITemplate { #region ITemplate Members diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/XPathExpressionType.cs b/src/umbraco.editorControls/MultiNodeTreePicker/XPathExpressionType.cs index 43b1fb7bc3..21858e4167 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/XPathExpressionType.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/XPathExpressionType.cs @@ -1,8 +1,11 @@ -namespace umbraco.editorControls.MultiNodeTreePicker +using System; + +namespace umbraco.editorControls.MultiNodeTreePicker { /// /// An enumerator for the XPath expression. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public enum XPathExpressionType { /// diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/XPathFilterType.cs b/src/umbraco.editorControls/MultiNodeTreePicker/XPathFilterType.cs index 4f4a983425..8c361669c2 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/XPathFilterType.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/XPathFilterType.cs @@ -1,8 +1,11 @@ -namespace umbraco.editorControls.MultiNodeTreePicker +using System; + +namespace umbraco.editorControls.MultiNodeTreePicker { /// /// An enumerator for the XPath filter, for either enable/disable. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public enum XPathFilterType { /// diff --git a/src/umbraco.editorControls/MultiNodeTreePicker/XmlTreeNodeExtensions.cs b/src/umbraco.editorControls/MultiNodeTreePicker/XmlTreeNodeExtensions.cs index 95814aa855..fe97e13f23 100644 --- a/src/umbraco.editorControls/MultiNodeTreePicker/XmlTreeNodeExtensions.cs +++ b/src/umbraco.editorControls/MultiNodeTreePicker/XmlTreeNodeExtensions.cs @@ -1,4 +1,5 @@ -using System.Linq; +using System; +using System.Linq; using System.Xml.Linq; using System.Xml.XPath; using umbraco.cms.presentation.Trees; @@ -8,6 +9,7 @@ namespace umbraco.editorControls.MultiNodeTreePicker /// /// XmlTreeNode extensions for the MultiNodeTreePicker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public static class XmlTreeNodeExtensions { //public static void DetermineSelected(this XmlTreeNode node) diff --git a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringControl.cs b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringControl.cs index 384e24144f..486cbda3fa 100644 --- a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringControl.cs +++ b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringControl.cs @@ -15,6 +15,7 @@ namespace umbraco.editorControls.MultipleTextstring /// The MultipleTextstring control sets a character limit on a TextBox. /// [ValidationProperty("IsValid")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MultipleTextstringControl : PlaceHolder { /// diff --git a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringDataType.cs b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringDataType.cs index 7a94406e30..cbe7ef4686 100644 --- a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringDataType.cs +++ b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringDataType.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.MultipleTextstring /// /// Data Editor for the Multiple Textstring data type. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MultipleTextstringDataType : AbstractDataEditor { /// diff --git a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringOptions.cs b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringOptions.cs index 170950f8b0..e04b8e4d38 100644 --- a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringOptions.cs +++ b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringOptions.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.MultipleTextstring @@ -6,6 +7,7 @@ namespace umbraco.editorControls.MultipleTextstring /// /// The options for the Multiple Textstring data-type. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MultipleTextstringOptions : AbstractOptions { /// diff --git a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringPrevalueEditor.cs b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringPrevalueEditor.cs index 6d0833f4af..4763b54f44 100644 --- a/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringPrevalueEditor.cs +++ b/src/umbraco.editorControls/MultipleTextstring/MultipleTextstringPrevalueEditor.cs @@ -8,6 +8,7 @@ namespace umbraco.editorControls.MultipleTextstring /// /// The PreValue Editor for the Multiple Textstring data-type. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MultipleTextstringPrevalueEditor : AbstractJsonPrevalueEditor { /// diff --git a/src/umbraco.editorControls/checkboxlist/CheckBoxDataType.cs b/src/umbraco.editorControls/checkboxlist/CheckBoxDataType.cs index 12519dcd1b..7ca0878c5e 100644 --- a/src/umbraco.editorControls/checkboxlist/CheckBoxDataType.cs +++ b/src/umbraco.editorControls/checkboxlist/CheckBoxDataType.cs @@ -3,6 +3,7 @@ using Umbraco.Core; namespace umbraco.editorControls.checkboxlist { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class checkboxListDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/checkboxlist/checkboxList.cs b/src/umbraco.editorControls/checkboxlist/checkboxList.cs index 10e789fb11..b05fd1bca1 100644 --- a/src/umbraco.editorControls/checkboxlist/checkboxList.cs +++ b/src/umbraco.editorControls/checkboxlist/checkboxList.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; namespace umbraco.editorControls.checkboxlist { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class checkboxlistEditor : System.Web.UI.WebControls.CheckBoxList, interfaces.IDataEditor { private String _text; diff --git a/src/umbraco.editorControls/colorpicker/ColorPickerDataType.cs b/src/umbraco.editorControls/colorpicker/ColorPickerDataType.cs index 1bdf605118..1692f41848 100644 --- a/src/umbraco.editorControls/colorpicker/ColorPickerDataType.cs +++ b/src/umbraco.editorControls/colorpicker/ColorPickerDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.colorpicker /// /// Summary description for ColorPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class ColorPickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/colorpicker/colorPicker.cs b/src/umbraco.editorControls/colorpicker/colorPicker.cs index c8a0626917..5c6200acd6 100644 --- a/src/umbraco.editorControls/colorpicker/colorPicker.cs +++ b/src/umbraco.editorControls/colorpicker/colorPicker.cs @@ -11,9 +11,7 @@ namespace umbraco.editorControls /// /// Summary description for colorPicker. /// - [DefaultProperty("Value"), - ValidationProperty("Value"), - ToolboxData("<{0}:colorPicker runat=server>")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class colorPicker : System.Web.UI.WebControls.HiddenField, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/datefieldmultiple/DataTypeDatefieldMultiple.cs b/src/umbraco.editorControls/datefieldmultiple/DataTypeDatefieldMultiple.cs index b54cfb7a42..966dbafe80 100644 --- a/src/umbraco.editorControls/datefieldmultiple/DataTypeDatefieldMultiple.cs +++ b/src/umbraco.editorControls/datefieldmultiple/DataTypeDatefieldMultiple.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.datefieldmultiple /// /// Summary description for DataTypeDatefieldMultiple. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataTypeDatefieldMultiple : datepicker.DateDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/datepicker/DateData.cs b/src/umbraco.editorControls/datepicker/DateData.cs index fe1edc7be4..56d213d992 100644 --- a/src/umbraco.editorControls/datepicker/DateData.cs +++ b/src/umbraco.editorControls/datepicker/DateData.cs @@ -5,6 +5,7 @@ namespace umbraco.editorControls.datepicker /// /// Summary description for DateData. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DateData : cms.businesslogic.datatype.DefaultData { public DateData(cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) {} diff --git a/src/umbraco.editorControls/datepicker/DateDataType.cs b/src/umbraco.editorControls/datepicker/DateDataType.cs index 8d044d894a..9a83a3136c 100644 --- a/src/umbraco.editorControls/datepicker/DateDataType.cs +++ b/src/umbraco.editorControls/datepicker/DateDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.datepicker /// /// Summary description for DateDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DateDataType : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/datepicker/dateField.cs b/src/umbraco.editorControls/datepicker/dateField.cs index 2d5cf57793..cb35dd8b20 100644 --- a/src/umbraco.editorControls/datepicker/dateField.cs +++ b/src/umbraco.editorControls/datepicker/dateField.cs @@ -11,9 +11,7 @@ namespace umbraco.editorControls /// /// Summary description for dateField. /// - [DefaultProperty("Text"), - ToolboxData("<{0}:dateField runat=server>")] - [ValidationProperty("Text")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class dateField : DateTimePicker, interfaces.IDataEditor { diff --git a/src/umbraco.editorControls/dictionaryPicker/dictionaryPicker.cs b/src/umbraco.editorControls/dictionaryPicker/dictionaryPicker.cs index 6dbc1f31ed..ae4721e328 100644 --- a/src/umbraco.editorControls/dictionaryPicker/dictionaryPicker.cs +++ b/src/umbraco.editorControls/dictionaryPicker/dictionaryPicker.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.dictionaryPicker /// /// Summary description for dictionaryPicker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class dictionaryPicker : System.Web.UI.WebControls.CheckBoxList, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/dictionaryPicker/dictionaryPickerDataType.cs b/src/umbraco.editorControls/dictionaryPicker/dictionaryPickerDataType.cs index c0a1fb8cb9..f67e5d35b2 100644 --- a/src/umbraco.editorControls/dictionaryPicker/dictionaryPickerDataType.cs +++ b/src/umbraco.editorControls/dictionaryPicker/dictionaryPickerDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.dictionaryPicker /// /// Summary description for dictionaryPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class dictionaryPickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { diff --git a/src/umbraco.editorControls/dropdownlist/DropDownDataType.cs b/src/umbraco.editorControls/dropdownlist/DropDownDataType.cs index 56bd43a89f..af05a06030 100644 --- a/src/umbraco.editorControls/dropdownlist/DropDownDataType.cs +++ b/src/umbraco.editorControls/dropdownlist/DropDownDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.dropdownlist /// /// Summary description for ColorPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DropdownListDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/dropdownlist/dropDownKeysDataType.cs b/src/umbraco.editorControls/dropdownlist/dropDownKeysDataType.cs index a4308a031d..6f0848ae8d 100644 --- a/src/umbraco.editorControls/dropdownlist/dropDownKeysDataType.cs +++ b/src/umbraco.editorControls/dropdownlist/dropDownKeysDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.dropdownlist /// /// Summary description for ColorPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DropdownListKeysDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/dropdownlist/dropdown.cs b/src/umbraco.editorControls/dropdownlist/dropdown.cs index f4d887cfb4..b14ced4d05 100644 --- a/src/umbraco.editorControls/dropdownlist/dropdown.cs +++ b/src/umbraco.editorControls/dropdownlist/dropdown.cs @@ -10,6 +10,7 @@ using System.Collections.Generic; namespace umbraco.editorControls { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class dropdown : System.Web.UI.WebControls.DropDownList, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/folderbrowser/DataTypeFolderbrowser.cs b/src/umbraco.editorControls/folderbrowser/DataTypeFolderbrowser.cs index ae24df2aad..cd13412e5c 100644 --- a/src/umbraco.editorControls/folderbrowser/DataTypeFolderbrowser.cs +++ b/src/umbraco.editorControls/folderbrowser/DataTypeFolderbrowser.cs @@ -6,9 +6,7 @@ namespace umbraco.editorControls.folderbrowser /// /// Summary description for DataTypeFolderbrowser. /// - /// - /// Summary description for DataTypeUploadField. - /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataTypeFolderBrowser : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _editor; diff --git a/src/umbraco.editorControls/folderbrowser/folderBrowser.cs b/src/umbraco.editorControls/folderbrowser/folderBrowser.cs index 47037d8068..2bb2f55f0f 100644 --- a/src/umbraco.editorControls/folderbrowser/folderBrowser.cs +++ b/src/umbraco.editorControls/folderbrowser/folderBrowser.cs @@ -8,6 +8,7 @@ namespace umbraco.editorControls /// /// Summary description for folderBrowser. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class folderBrowser : WebControl, interfaces.IDataEditor { public Control Editor { get { return this; } } diff --git a/src/umbraco.editorControls/imagecropper/Config.cs b/src/umbraco.editorControls/imagecropper/Config.cs index 1ee4be2f51..c3be870769 100644 --- a/src/umbraco.editorControls/imagecropper/Config.cs +++ b/src/umbraco.editorControls/imagecropper/Config.cs @@ -3,6 +3,7 @@ using System.Collections; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class Config { public string UploadPropertyAlias { get; set; } diff --git a/src/umbraco.editorControls/imagecropper/Data.cs b/src/umbraco.editorControls/imagecropper/Data.cs index b8219279e7..931591b5c2 100644 --- a/src/umbraco.editorControls/imagecropper/Data.cs +++ b/src/umbraco.editorControls/imagecropper/Data.cs @@ -1,5 +1,8 @@ -namespace umbraco.editorControls.imagecropper +using System; + +namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] struct Crop { public int X; @@ -16,6 +19,7 @@ } } + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] enum DefaultCropPosition { CenterCenter = 0, @@ -29,6 +33,7 @@ RightBottom } + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] struct Preset { public string Name; diff --git a/src/umbraco.editorControls/imagecropper/DataEditor.cs b/src/umbraco.editorControls/imagecropper/DataEditor.cs index 62c83a2383..f5820fb853 100644 --- a/src/umbraco.editorControls/imagecropper/DataEditor.cs +++ b/src/umbraco.editorControls/imagecropper/DataEditor.cs @@ -11,6 +11,7 @@ using umbraco.cms.businesslogic.web; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataEditor : PlaceHolder, umbraco.interfaces.IDataEditor { private umbraco.interfaces.IData data; diff --git a/src/umbraco.editorControls/imagecropper/DataType.cs b/src/umbraco.editorControls/imagecropper/DataType.cs index f0320dd395..44722d4363 100644 --- a/src/umbraco.editorControls/imagecropper/DataType.cs +++ b/src/umbraco.editorControls/imagecropper/DataType.cs @@ -4,6 +4,7 @@ using Umbraco.Core; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType { private umbraco.interfaces.IDataEditor _editor; diff --git a/src/umbraco.editorControls/imagecropper/DataTypeData.cs b/src/umbraco.editorControls/imagecropper/DataTypeData.cs index 9c68edb04d..7c772b4c47 100644 --- a/src/umbraco.editorControls/imagecropper/DataTypeData.cs +++ b/src/umbraco.editorControls/imagecropper/DataTypeData.cs @@ -1,7 +1,9 @@ -using System.Xml; +using System; +using System.Xml; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataTypeData : umbraco.cms.businesslogic.datatype.DefaultData { public DataTypeData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { } diff --git a/src/umbraco.editorControls/imagecropper/Helper.cs b/src/umbraco.editorControls/imagecropper/Helper.cs index 1294ae367e..da3b732d8a 100644 --- a/src/umbraco.editorControls/imagecropper/Helper.cs +++ b/src/umbraco.editorControls/imagecropper/Helper.cs @@ -1,8 +1,10 @@ -using System.IO; +using System; +using System.IO; using System.Xml.Serialization; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] class Helper { diff --git a/src/umbraco.editorControls/imagecropper/ImageInfo.cs b/src/umbraco.editorControls/imagecropper/ImageInfo.cs index 8c4ce9fde9..08bdeab11b 100644 --- a/src/umbraco.editorControls/imagecropper/ImageInfo.cs +++ b/src/umbraco.editorControls/imagecropper/ImageInfo.cs @@ -7,6 +7,7 @@ using umbraco.IO; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class ImageInfo { public Image image { get; set; } diff --git a/src/umbraco.editorControls/imagecropper/ImageManipulation.cs b/src/umbraco.editorControls/imagecropper/ImageManipulation.cs index 9835f7b2cb..8e78209a8c 100644 --- a/src/umbraco.editorControls/imagecropper/ImageManipulation.cs +++ b/src/umbraco.editorControls/imagecropper/ImageManipulation.cs @@ -6,6 +6,7 @@ using System.IO; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class ImageTransform { public static void Execute(string sourceFile, string name, int cropX, int cropY, int cropWidth, int cropHeight, int sizeWidth, int sizeHeight, long quality) diff --git a/src/umbraco.editorControls/imagecropper/PrevalueEditor.cs b/src/umbraco.editorControls/imagecropper/PrevalueEditor.cs index 3076f96077..14334b8357 100644 --- a/src/umbraco.editorControls/imagecropper/PrevalueEditor.cs +++ b/src/umbraco.editorControls/imagecropper/PrevalueEditor.cs @@ -9,6 +9,7 @@ using umbraco.macroRenderings; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class PrevalueEditor : PlaceHolder, IDataPrevalue { private readonly umbraco.cms.businesslogic.datatype.BaseDataType _dataType; diff --git a/src/umbraco.editorControls/imagecropper/Resources.Designer.cs b/src/umbraco.editorControls/imagecropper/Resources.Designer.cs index 4cdbaf2c02..f667e28ce6 100644 --- a/src/umbraco.editorControls/imagecropper/Resources.Designer.cs +++ b/src/umbraco.editorControls/imagecropper/Resources.Designer.cs @@ -8,6 +8,8 @@ // //------------------------------------------------------------------------------ +using System; + namespace umbraco.editorControls.imagecropper { /// @@ -20,6 +22,7 @@ namespace umbraco.editorControls.imagecropper [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class Resources { private static global::System.Resources.ResourceManager resourceMan; diff --git a/src/umbraco.editorControls/imagecropper/SaveData.cs b/src/umbraco.editorControls/imagecropper/SaveData.cs index e962766b89..1ec376e2a8 100644 --- a/src/umbraco.editorControls/imagecropper/SaveData.cs +++ b/src/umbraco.editorControls/imagecropper/SaveData.cs @@ -4,6 +4,7 @@ using System.Xml; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class SaveData { public ArrayList data { get; set; } diff --git a/src/umbraco.editorControls/imagecropper/SmartListBox.cs b/src/umbraco.editorControls/imagecropper/SmartListBox.cs index 5556e78777..4616f7f9ff 100644 --- a/src/umbraco.editorControls/imagecropper/SmartListBox.cs +++ b/src/umbraco.editorControls/imagecropper/SmartListBox.cs @@ -1,7 +1,9 @@ -using System.Web.UI.WebControls; +using System; +using System.Web.UI.WebControls; namespace umbraco.editorControls.imagecropper { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class SmartListBox : ListBox { //Moves the selected items up one level diff --git a/src/umbraco.editorControls/label/DataTypeNoEdit.cs b/src/umbraco.editorControls/label/DataTypeNoEdit.cs index 53fd7ac59c..8aeda1db1e 100644 --- a/src/umbraco.editorControls/label/DataTypeNoEdit.cs +++ b/src/umbraco.editorControls/label/DataTypeNoEdit.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.label /// /// Summary description for DataTypeNoEdit. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataTypeNoEdit : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType { diff --git a/src/umbraco.editorControls/label/noEdit.cs b/src/umbraco.editorControls/label/noEdit.cs index 9c791c32c5..3bb932bc93 100644 --- a/src/umbraco.editorControls/label/noEdit.cs +++ b/src/umbraco.editorControls/label/noEdit.cs @@ -4,6 +4,7 @@ using System.Web.UI.WebControls; namespace umbraco.editorControls { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class noEdit : System.Web.UI.WebControls.Label, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/listbox/ListBoxDataType.cs b/src/umbraco.editorControls/listbox/ListBoxDataType.cs index 2494ab329d..fa040d3266 100644 --- a/src/umbraco.editorControls/listbox/ListBoxDataType.cs +++ b/src/umbraco.editorControls/listbox/ListBoxDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.listbox /// /// Summary description for ColorPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class ListBoxDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/listbox/ListBoxKeysDataType.cs b/src/umbraco.editorControls/listbox/ListBoxKeysDataType.cs index ff21619e2a..de6de46bca 100644 --- a/src/umbraco.editorControls/listbox/ListBoxKeysDataType.cs +++ b/src/umbraco.editorControls/listbox/ListBoxKeysDataType.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.listbox /// /// Summary description for ColorPickerDataType. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class ListBoxKeysDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/listbox/dropdownMultiple.cs b/src/umbraco.editorControls/listbox/dropdownMultiple.cs index 2147430516..b547dc9550 100644 --- a/src/umbraco.editorControls/listbox/dropdownMultiple.cs +++ b/src/umbraco.editorControls/listbox/dropdownMultiple.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls /// /// Summary description for dropdownMultiple. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class dropdownMultiple : System.Web.UI.WebControls.ListBox, interfaces.IDataEditor { private String _text; diff --git a/src/umbraco.editorControls/macrocontainer/DataType.cs b/src/umbraco.editorControls/macrocontainer/DataType.cs index 763930bee0..4b5b5998f4 100644 --- a/src/umbraco.editorControls/macrocontainer/DataType.cs +++ b/src/umbraco.editorControls/macrocontainer/DataType.cs @@ -6,6 +6,7 @@ using Umbraco.Core; namespace umbraco.editorControls.macrocontainer { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { diff --git a/src/umbraco.editorControls/macrocontainer/Editor.cs b/src/umbraco.editorControls/macrocontainer/Editor.cs index d4cbdeaeca..2294b1ff2a 100644 --- a/src/umbraco.editorControls/macrocontainer/Editor.cs +++ b/src/umbraco.editorControls/macrocontainer/Editor.cs @@ -19,6 +19,7 @@ namespace umbraco.editorControls.macrocontainer [ClientDependency(ClientDependencyType.Javascript, "ui/jqueryui.js", "UmbracoClient")] [ClientDependency(ClientDependencyType.Css, "macroContainer/macroContainer.css", "UmbracoClient")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class Editor : UpdatePanel, IDataEditor { private IData _data; diff --git a/src/umbraco.editorControls/macrocontainer/MacroContainerEvent.cs b/src/umbraco.editorControls/macrocontainer/MacroContainerEvent.cs index 5ceb848cdb..ae774d2de7 100644 --- a/src/umbraco.editorControls/macrocontainer/MacroContainerEvent.cs +++ b/src/umbraco.editorControls/macrocontainer/MacroContainerEvent.cs @@ -5,6 +5,7 @@ using System.Text; namespace umbraco.editorControls.macrocontainer { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public static class MacroContainerEvent { public delegate void ExecuteHandler(); diff --git a/src/umbraco.editorControls/macrocontainer/MacroEditor.cs b/src/umbraco.editorControls/macrocontainer/MacroEditor.cs index a3dd15c849..e6a13d8b0c 100644 --- a/src/umbraco.editorControls/macrocontainer/MacroEditor.cs +++ b/src/umbraco.editorControls/macrocontainer/MacroEditor.cs @@ -14,6 +14,7 @@ using System.Web; namespace umbraco.editorControls.macrocontainer { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MacroEditor : System.Web.UI.Control { private List _allowedMacros; diff --git a/src/umbraco.editorControls/macrocontainer/PrevalueEditor.cs b/src/umbraco.editorControls/macrocontainer/PrevalueEditor.cs index 2b99d77650..b8aab80f5f 100644 --- a/src/umbraco.editorControls/macrocontainer/PrevalueEditor.cs +++ b/src/umbraco.editorControls/macrocontainer/PrevalueEditor.cs @@ -11,6 +11,7 @@ using System.Web.UI; namespace umbraco.editorControls.macrocontainer { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class PrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue { diff --git a/src/umbraco.editorControls/mediapicker/MediaPickerDataType.cs b/src/umbraco.editorControls/mediapicker/MediaPickerDataType.cs index 03af12e828..b652c8b5a3 100644 --- a/src/umbraco.editorControls/mediapicker/MediaPickerDataType.cs +++ b/src/umbraco.editorControls/mediapicker/MediaPickerDataType.cs @@ -3,6 +3,7 @@ using Umbraco.Core; namespace umbraco.editorControls.mediapicker { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MediaPickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _editor; diff --git a/src/umbraco.editorControls/mediapicker/MediaPickerPrevalueEditor.cs b/src/umbraco.editorControls/mediapicker/MediaPickerPrevalueEditor.cs index baf918d781..674d7d69aa 100644 --- a/src/umbraco.editorControls/mediapicker/MediaPickerPrevalueEditor.cs +++ b/src/umbraco.editorControls/mediapicker/MediaPickerPrevalueEditor.cs @@ -14,6 +14,7 @@ using umbraco.editorControls; namespace umbraco.editorControls.mediapicker { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MediaPickerPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue { diff --git a/src/umbraco.editorControls/mediapicker/mediaChooser.cs b/src/umbraco.editorControls/mediapicker/mediaChooser.cs index e523298120..b6a441bce6 100644 --- a/src/umbraco.editorControls/mediapicker/mediaChooser.cs +++ b/src/umbraco.editorControls/mediapicker/mediaChooser.cs @@ -14,6 +14,7 @@ namespace umbraco.editorControls /// Summary description for mediaChooser. /// [ValidationProperty("Value")] + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class mediaChooser : BaseTreePickerEditor { readonly bool _showpreview; diff --git a/src/umbraco.editorControls/memberpicker/MemberPickerDataType.cs b/src/umbraco.editorControls/memberpicker/MemberPickerDataType.cs index 1041160b0a..ece8448d87 100644 --- a/src/umbraco.editorControls/memberpicker/MemberPickerDataType.cs +++ b/src/umbraco.editorControls/memberpicker/MemberPickerDataType.cs @@ -3,6 +3,7 @@ using Umbraco.Core; namespace umbraco.editorControls.memberpicker { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class MemberPickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _editor; diff --git a/src/umbraco.editorControls/memberpicker/memberPicker.cs b/src/umbraco.editorControls/memberpicker/memberPicker.cs index 63e7844638..358c7e7cf7 100644 --- a/src/umbraco.editorControls/memberpicker/memberPicker.cs +++ b/src/umbraco.editorControls/memberpicker/memberPicker.cs @@ -12,6 +12,7 @@ namespace umbraco.editorControls /// /// Summary description for memberPicker. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class memberPicker : System.Web.UI.WebControls.DropDownList, interfaces.IDataEditor { diff --git a/src/umbraco.editorControls/numberfield/DataInteger.cs b/src/umbraco.editorControls/numberfield/DataInteger.cs index 2fc4be2d5a..540862b6e9 100644 --- a/src/umbraco.editorControls/numberfield/DataInteger.cs +++ b/src/umbraco.editorControls/numberfield/DataInteger.cs @@ -5,6 +5,7 @@ namespace umbraco.editorControls.numberfield /// /// Summary description for DataInteger. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class DataInteger : cms.businesslogic.datatype.DefaultData { public DataInteger(cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) {} diff --git a/src/umbraco.editorControls/numberfield/DataTypeInteger.cs b/src/umbraco.editorControls/numberfield/DataTypeInteger.cs index 728c88cb21..f9d06af306 100644 --- a/src/umbraco.editorControls/numberfield/DataTypeInteger.cs +++ b/src/umbraco.editorControls/numberfield/DataTypeInteger.cs @@ -6,6 +6,7 @@ namespace umbraco.editorControls.numberfield /// /// Summary description for IDataTypenteger. /// + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class IDataTypenteger : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/numberfield/numberField.cs b/src/umbraco.editorControls/numberfield/numberField.cs index a3f15ddb5b..312377af05 100644 --- a/src/umbraco.editorControls/numberfield/numberField.cs +++ b/src/umbraco.editorControls/numberfield/numberField.cs @@ -5,6 +5,7 @@ using System.Globalization; namespace umbraco.editorControls { + [Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")] public class numberField : TextBox, interfaces.IDataEditor { private interfaces.IData _data;