diff --git a/src/umbraco.editorControls/AbstractJsonPrevalueEditor.cs b/src/umbraco.editorControls/AbstractJsonPrevalueEditor.cs index dea9d78921..1b61f5fb60 100644 --- a/src/umbraco.editorControls/AbstractJsonPrevalueEditor.cs +++ b/src/umbraco.editorControls/AbstractJsonPrevalueEditor.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls /// Abstract class for the PreValue Editor. /// Specifically designed to serialize/deserialize the options as JSON. /// + [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 abstract class AbstractJsonPrevalueEditor : AbstractPrevalueEditor { /// diff --git a/src/umbraco.editorControls/AbstractOptions.cs b/src/umbraco.editorControls/AbstractOptions.cs index f166343210..ccdc460700 100644 --- a/src/umbraco.editorControls/AbstractOptions.cs +++ b/src/umbraco.editorControls/AbstractOptions.cs @@ -1,11 +1,13 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; namespace umbraco.editorControls { /// /// Abstract class for the Prevalue Editor options. /// - public abstract class AbstractOptions + [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 abstract class AbstractOptions { /// /// Initializes a new instance of the class. diff --git a/src/umbraco.editorControls/AbstractPrevalueEditor.cs b/src/umbraco.editorControls/AbstractPrevalueEditor.cs index c63c06ec75..a7e5b735ad 100644 --- a/src/umbraco.editorControls/AbstractPrevalueEditor.cs +++ b/src/umbraco.editorControls/AbstractPrevalueEditor.cs @@ -12,6 +12,7 @@ namespace umbraco.editorControls /// /// Abstract class for the PreValue Editor. /// + [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 abstract class AbstractPrevalueEditor : WebControl, IDataPrevalue { /// diff --git a/src/umbraco.editorControls/BaseDataType.cs b/src/umbraco.editorControls/BaseDataType.cs index 9fb01a62b3..ce132d0784 100644 --- a/src/umbraco.editorControls/BaseDataType.cs +++ b/src/umbraco.editorControls/BaseDataType.cs @@ -5,7 +5,8 @@ using umbraco.BusinessLogic; namespace umbraco.editorControls { - public abstract class BaseDataType + [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 abstract class BaseDataType { private int _datatypedefinitionid; private string _datafield = ""; @@ -84,7 +85,8 @@ namespace umbraco.editorControls } #endregion } - public enum DBTypes + [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 DBTypes { Integer, Date, diff --git a/src/umbraco.editorControls/BaseTreePickerEditor.cs b/src/umbraco.editorControls/BaseTreePickerEditor.cs index 047b72519b..1e2305be45 100644 --- a/src/umbraco.editorControls/BaseTreePickerEditor.cs +++ b/src/umbraco.editorControls/BaseTreePickerEditor.cs @@ -12,6 +12,7 @@ namespace umbraco.editorControls /// /// A base tree picker class that has all of the functionality built in for an IDataEditor /// + [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 abstract class BaseTreePickerEditor : BaseTreePicker, IDataEditor { diff --git a/src/umbraco.editorControls/CsvToXmlData.cs b/src/umbraco.editorControls/CsvToXmlData.cs index 626839c35e..6bae96bcf6 100644 --- a/src/umbraco.editorControls/CsvToXmlData.cs +++ b/src/umbraco.editorControls/CsvToXmlData.cs @@ -1,4 +1,5 @@ -using System.Xml; +using System; +using System.Xml; using umbraco; using umbraco.cms.businesslogic.datatype; @@ -7,6 +8,7 @@ namespace umbraco.editorControls /// /// Overrides the object to return the value as XML. /// + [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 CsvToXmlData : umbraco.cms.businesslogic.datatype.DefaultData { /// diff --git a/src/umbraco.editorControls/DefaultDataKeyValue.cs b/src/umbraco.editorControls/DefaultDataKeyValue.cs index 1a326d0e9d..d1288cbd1f 100644 --- a/src/umbraco.editorControls/DefaultDataKeyValue.cs +++ b/src/umbraco.editorControls/DefaultDataKeyValue.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls /// /// Summary description for cms.businesslogic.datatype.DefaultDataKeyValue. /// + [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 DefaultDataKeyValue : cms.businesslogic.datatype.DefaultData { public DefaultDataKeyValue(cms.businesslogic.datatype.BaseDataType DataType) diff --git a/src/umbraco.editorControls/DefaultPrevalueEditor.cs b/src/umbraco.editorControls/DefaultPrevalueEditor.cs index 7a6c17cffd..6386cfd5c5 100644 --- a/src/umbraco.editorControls/DefaultPrevalueEditor.cs +++ b/src/umbraco.editorControls/DefaultPrevalueEditor.cs @@ -8,6 +8,7 @@ using umbraco.DataLayer; 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 DefaultPrevalueEditor : PlaceHolder, IDataPrevalue { // UI controls diff --git a/src/umbraco.editorControls/KeyValuePrevalueEditor.cs b/src/umbraco.editorControls/KeyValuePrevalueEditor.cs index 4233f8aa6d..8ea71361cd 100644 --- a/src/umbraco.editorControls/KeyValuePrevalueEditor.cs +++ b/src/umbraco.editorControls/KeyValuePrevalueEditor.cs @@ -19,7 +19,8 @@ namespace umbraco.editorControls /// [ClientDependency(ClientDependencyType.Javascript, "Jeditable/jquery.jeditable.js", "UmbracoClient")] - public class KeyValuePrevalueEditor : System.Web.UI.WebControls.PlaceHolder, interfaces.IDataPrevalue + [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 KeyValuePrevalueEditor : System.Web.UI.WebControls.PlaceHolder, interfaces.IDataPrevalue { // UI controls diff --git a/src/umbraco.editorControls/PickerRelations/PickerRelationsDataEditor.cs b/src/umbraco.editorControls/PickerRelations/PickerRelationsDataEditor.cs index d5dcdc313f..11e4a134e0 100644 --- a/src/umbraco.editorControls/PickerRelations/PickerRelationsDataEditor.cs +++ b/src/umbraco.editorControls/PickerRelations/PickerRelationsDataEditor.cs @@ -15,6 +15,7 @@ namespace umbraco.editorControls.PickerRelations /// /// /// + [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 PickerRelationsDataEditor : CompositeControl, IDataEditor { /// diff --git a/src/umbraco.editorControls/PickerRelations/PickerRelationsDataType.cs b/src/umbraco.editorControls/PickerRelations/PickerRelationsDataType.cs index 865c0a27a9..9d44201fc6 100644 --- a/src/umbraco.editorControls/PickerRelations/PickerRelationsDataType.cs +++ b/src/umbraco.editorControls/PickerRelations/PickerRelationsDataType.cs @@ -9,6 +9,7 @@ namespace umbraco.editorControls.PickerRelations /// /// This datatype will render a CheckBoxList where the options are defined by an 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 class PickerRelationsDataType : umbraco.cms.businesslogic.datatype.BaseDataType, IDataType { /// diff --git a/src/umbraco.editorControls/PickerRelations/PickerRelationsEventHandler.cs b/src/umbraco.editorControls/PickerRelations/PickerRelationsEventHandler.cs index 0bba75267e..da29b268cc 100644 --- a/src/umbraco.editorControls/PickerRelations/PickerRelationsEventHandler.cs +++ b/src/umbraco.editorControls/PickerRelations/PickerRelationsEventHandler.cs @@ -18,7 +18,8 @@ namespace umbraco.editorControls.PickerRelations /// /// Event handler that will convert a CSV into Relations /// - public class PickerRelationsEventHandler : ApplicationStartupHandler + [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 PickerRelationsEventHandler : ApplicationStartupHandler { private enum PickerStorageFormat { diff --git a/src/umbraco.editorControls/PickerRelations/PickerRelationsOptions.cs b/src/umbraco.editorControls/PickerRelations/PickerRelationsOptions.cs index f06221e5d8..306b602832 100644 --- a/src/umbraco.editorControls/PickerRelations/PickerRelationsOptions.cs +++ b/src/umbraco.editorControls/PickerRelations/PickerRelationsOptions.cs @@ -8,6 +8,7 @@ namespace umbraco.editorControls.PickerRelations /// /// Data Class, used to store the configuration options for the PickerRelationsPreValueEditor /// + [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 PickerRelationsOptions { /// diff --git a/src/umbraco.editorControls/PickerRelations/PickerRelationsPreValueEditor.cs b/src/umbraco.editorControls/PickerRelations/PickerRelationsPreValueEditor.cs index 14d6f20248..e2dc7b7525 100644 --- a/src/umbraco.editorControls/PickerRelations/PickerRelationsPreValueEditor.cs +++ b/src/umbraco.editorControls/PickerRelations/PickerRelationsPreValueEditor.cs @@ -13,6 +13,7 @@ namespace umbraco.editorControls.PickerRelations /// TODO: [HR] min / max selections ? /// Uses the shared JsonPreValueEditor as nice way of lightweight serializing a config data class object into a single DB field /// + [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 PickerRelationsPreValueEditor : AbstractJsonPrevalueEditor { /// diff --git a/src/umbraco.editorControls/PrevalueEditorExtensions.cs b/src/umbraco.editorControls/PrevalueEditorExtensions.cs index 38d1eacaa8..f3e32e6cac 100644 --- a/src/umbraco.editorControls/PrevalueEditorExtensions.cs +++ b/src/umbraco.editorControls/PrevalueEditorExtensions.cs @@ -1,4 +1,5 @@ -using System.Web.UI; +using System; +using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; @@ -7,6 +8,7 @@ namespace umbraco.editorControls /// /// Extension methods for the Prevalue Editor /// + [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 PrevalueEditorExtensions { /// diff --git a/src/umbraco.editorControls/PropertyTypePicker.cs b/src/umbraco.editorControls/PropertyTypePicker.cs index 3c5aab59bc..3bfe08d226 100644 --- a/src/umbraco.editorControls/PropertyTypePicker.cs +++ b/src/umbraco.editorControls/PropertyTypePicker.cs @@ -7,7 +7,8 @@ namespace umbraco.editorControls /// /// Summary description for propertyTypePicker. /// - public class PropertyTypePicker : System.Web.UI.WebControls.ListBox, interfaces.IMacroGuiRendering + [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 PropertyTypePicker : System.Web.UI.WebControls.ListBox, interfaces.IMacroGuiRendering { string _value = ""; bool _multiple = false; diff --git a/src/umbraco.editorControls/ResourceExtensions.cs b/src/umbraco.editorControls/ResourceExtensions.cs index e0923669cf..2bed63dd24 100644 --- a/src/umbraco.editorControls/ResourceExtensions.cs +++ b/src/umbraco.editorControls/ResourceExtensions.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls /// /// Extension methods for embedded resources /// + [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 ResourceExtensions { /// diff --git a/src/umbraco.editorControls/SettingControls/CheckBox.cs b/src/umbraco.editorControls/SettingControls/CheckBox.cs index 42f27805f3..e61db3bb99 100644 --- a/src/umbraco.editorControls/SettingControls/CheckBox.cs +++ b/src/umbraco.editorControls/SettingControls/CheckBox.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 CheckBox: DataEditorSettingType { private System.Web.UI.WebControls.CheckBox cb = new System.Web.UI.WebControls.CheckBox(); diff --git a/src/umbraco.editorControls/SettingControls/CheckBoxList.cs b/src/umbraco.editorControls/SettingControls/CheckBoxList.cs index aa72102ae4..0c6492c7f3 100644 --- a/src/umbraco.editorControls/SettingControls/CheckBoxList.cs +++ b/src/umbraco.editorControls/SettingControls/CheckBoxList.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 CheckBoxList : DataEditorSettingType { private System.Web.UI.WebControls.CheckBoxList cbl = new System.Web.UI.WebControls.CheckBoxList(); diff --git a/src/umbraco.editorControls/SettingControls/DropDownList.cs b/src/umbraco.editorControls/SettingControls/DropDownList.cs index 0cadb42d5c..59608b13b1 100644 --- a/src/umbraco.editorControls/SettingControls/DropDownList.cs +++ b/src/umbraco.editorControls/SettingControls/DropDownList.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 DropDownList: DataEditorSettingType { private System.Web.UI.WebControls.DropDownList ddl = new System.Web.UI.WebControls.DropDownList(); diff --git a/src/umbraco.editorControls/SettingControls/ListBox.cs b/src/umbraco.editorControls/SettingControls/ListBox.cs index 0f396af012..103f4c1ba0 100644 --- a/src/umbraco.editorControls/SettingControls/ListBox.cs +++ b/src/umbraco.editorControls/SettingControls/ListBox.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 ListBox : DataEditorSettingType { private System.Web.UI.WebControls.ListBox lb = new System.Web.UI.WebControls.ListBox(); diff --git a/src/umbraco.editorControls/SettingControls/ListBoxMultiple.cs b/src/umbraco.editorControls/SettingControls/ListBoxMultiple.cs index a4fa5b7db7..6849a01e9d 100644 --- a/src/umbraco.editorControls/SettingControls/ListBoxMultiple.cs +++ b/src/umbraco.editorControls/SettingControls/ListBoxMultiple.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 ListBoxMultiple : DataEditorSettingType { private System.Web.UI.WebControls.ListBox lb = new System.Web.UI.WebControls.ListBox(); diff --git a/src/umbraco.editorControls/SettingControls/Password.cs b/src/umbraco.editorControls/SettingControls/Password.cs index d153b13611..b2c6e9d8d8 100644 --- a/src/umbraco.editorControls/SettingControls/Password.cs +++ b/src/umbraco.editorControls/SettingControls/Password.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 Password : DataEditorSettingType { private TextBox tb = new TextBox(); diff --git a/src/umbraco.editorControls/SettingControls/Pickers/BasePicker.cs b/src/umbraco.editorControls/SettingControls/Pickers/BasePicker.cs index 4a455e5e34..0069b06c95 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/BasePicker.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/BasePicker.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls.Pickers { + [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 BasePicker: DataEditorSettingType { public Guid ObjectGuid { get; set; } diff --git a/src/umbraco.editorControls/SettingControls/Pickers/Content.cs b/src/umbraco.editorControls/SettingControls/Pickers/Content.cs index 509dcf6cf1..bc2253fd0a 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/Content.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/Content.cs @@ -7,6 +7,7 @@ using System.Web.UI.WebControls; namespace umbraco.editorControls.SettingControls.Pickers { + [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 Content : DataEditorSettingType { private ContentPickerWithXpathOption cc = new ContentPickerWithXpathOption(); @@ -36,7 +37,7 @@ namespace umbraco.editorControls.SettingControls.Pickers } } - + [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 ContentWithXpath : DataEditorSettingType { private ContentPickerWithXpathOption cc = new ContentPickerWithXpathOption(); @@ -66,7 +67,7 @@ namespace umbraco.editorControls.SettingControls.Pickers } - + [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 ContentPickerWithXpathOption : WebControl { private bool _showXPath = true; diff --git a/src/umbraco.editorControls/SettingControls/Pickers/Date.cs b/src/umbraco.editorControls/SettingControls/Pickers/Date.cs index c94498972f..beb1854b3f 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/Date.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/Date.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls.Pickers { + [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 Date: DataEditorSettingType { private DateTimePicker dp = new DateTimePicker(); diff --git a/src/umbraco.editorControls/SettingControls/Pickers/DateWithTime.cs b/src/umbraco.editorControls/SettingControls/Pickers/DateWithTime.cs index d347bda8b6..a914478a29 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/DateWithTime.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/DateWithTime.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls.Pickers { + [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 DateWithTime : DataEditorSettingType { private DateTimePicker dp = new DateTimePicker(); diff --git a/src/umbraco.editorControls/SettingControls/Pickers/DocumentType.cs b/src/umbraco.editorControls/SettingControls/Pickers/DocumentType.cs index 0186fa81ca..84068e67fc 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/DocumentType.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/DocumentType.cs @@ -6,7 +6,7 @@ using Umbraco.Core; namespace umbraco.editorControls.SettingControls.Pickers { - + [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 DocumentType: BasePicker { public DocumentType() { ObjectGuid = new Guid(Constants.ObjectTypes.DocumentType); diff --git a/src/umbraco.editorControls/SettingControls/Pickers/Field.cs b/src/umbraco.editorControls/SettingControls/Pickers/Field.cs index b0080a53d8..c937a6d096 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/Field.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/Field.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls.Pickers { + [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 Field : DataEditorSettingType { private System.Web.UI.WebControls.DropDownList ddl = new System.Web.UI.WebControls.DropDownList(); diff --git a/src/umbraco.editorControls/SettingControls/Pickers/Media.cs b/src/umbraco.editorControls/SettingControls/Pickers/Media.cs index 2437eaf8aa..a3bc00d25c 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/Media.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/Media.cs @@ -7,6 +7,7 @@ using Umbraco.Core; namespace umbraco.editorControls.SettingControls.Pickers { + [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 Media : DataEditorSettingType { diff --git a/src/umbraco.editorControls/SettingControls/Pickers/MediaType.cs b/src/umbraco.editorControls/SettingControls/Pickers/MediaType.cs index e43adedb23..33f92ce541 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/MediaType.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/MediaType.cs @@ -6,6 +6,7 @@ using Umbraco.Core; namespace umbraco.editorControls.SettingControls.Pickers { + [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 MediaType : BasePicker { public MediaType() diff --git a/src/umbraco.editorControls/SettingControls/Pickers/MemberGroup.cs b/src/umbraco.editorControls/SettingControls/Pickers/MemberGroup.cs index 7b91917ec7..24633d28b3 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/MemberGroup.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/MemberGroup.cs @@ -6,6 +6,7 @@ using Umbraco.Core; namespace umbraco.editorControls.SettingControls.Pickers { + [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 MemberGroup : BasePicker { public MemberGroup() diff --git a/src/umbraco.editorControls/SettingControls/Pickers/MemberType.cs b/src/umbraco.editorControls/SettingControls/Pickers/MemberType.cs index c6f2534888..bba275155f 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/MemberType.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/MemberType.cs @@ -6,6 +6,7 @@ using Umbraco.Core; namespace umbraco.editorControls.SettingControls.Pickers { + [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 MemberType : BasePicker { public MemberType() diff --git a/src/umbraco.editorControls/SettingControls/Pickers/Path.cs b/src/umbraco.editorControls/SettingControls/Pickers/Path.cs index 5f4197b548..cccec6c33e 100644 --- a/src/umbraco.editorControls/SettingControls/Pickers/Path.cs +++ b/src/umbraco.editorControls/SettingControls/Pickers/Path.cs @@ -8,6 +8,7 @@ using System.Web.UI.WebControls; namespace umbraco.editorControls.SettingControls.Pickers { + [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 Path : DataEditorSettingType { private PathPicker pp = new PathPicker(); @@ -41,7 +42,7 @@ namespace umbraco.editorControls.SettingControls.Pickers } } - + [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 PathPicker : WebControl { private TextBox tb; diff --git a/src/umbraco.editorControls/SettingControls/RadioButtonList.cs b/src/umbraco.editorControls/SettingControls/RadioButtonList.cs index 02af61e35f..19a1131c6b 100644 --- a/src/umbraco.editorControls/SettingControls/RadioButtonList.cs +++ b/src/umbraco.editorControls/SettingControls/RadioButtonList.cs @@ -6,6 +6,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 RadioButtonList: DataEditorSettingType { private System.Web.UI.WebControls.RadioButtonList rbl = new System.Web.UI.WebControls.RadioButtonList(); diff --git a/src/umbraco.editorControls/SettingControls/TextArea.cs b/src/umbraco.editorControls/SettingControls/TextArea.cs index 5b570fd44d..5892775a25 100644 --- a/src/umbraco.editorControls/SettingControls/TextArea.cs +++ b/src/umbraco.editorControls/SettingControls/TextArea.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.SettingControls { + [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 TextArea : DataEditorSettingType { private TextBox tb = new TextBox(); diff --git a/src/umbraco.editorControls/SettingControls/TextField.cs b/src/umbraco.editorControls/SettingControls/TextField.cs index 7f614fc4db..7962b149c9 100644 --- a/src/umbraco.editorControls/SettingControls/TextField.cs +++ b/src/umbraco.editorControls/SettingControls/TextField.cs @@ -7,6 +7,7 @@ using System.Web.UI.WebControls; namespace umbraco.editorControls.SettingControls { + [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 TextField : DataEditorSettingType { private TextBox tb = new TextBox(); diff --git a/src/umbraco.editorControls/SettingControls/Values.cs b/src/umbraco.editorControls/SettingControls/Values.cs index 5a05a70fb0..080275075f 100644 --- a/src/umbraco.editorControls/SettingControls/Values.cs +++ b/src/umbraco.editorControls/SettingControls/Values.cs @@ -10,7 +10,7 @@ using umbraco.cms.businesslogic.datatype; [assembly: System.Web.UI.WebResource("umbraco.editorControls.SettingControls.css.Values.css", "text/css")] namespace umbraco.editorControls.SettingControls { - + [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 Values : DataEditorSettingType { diff --git a/src/umbraco.editorControls/Slider/SliderControl.cs b/src/umbraco.editorControls/Slider/SliderControl.cs index a1a060c604..67e47d1800 100644 --- a/src/umbraco.editorControls/Slider/SliderControl.cs +++ b/src/umbraco.editorControls/Slider/SliderControl.cs @@ -14,6 +14,7 @@ namespace umbraco.editorControls.Slider [ClientDependency.Core.ClientDependency(ClientDependency.Core.ClientDependencyType.Javascript, "ui/jquery.alphanumeric.js", "UmbracoClient")] [ClientDependency.Core.ClientDependency(ClientDependency.Core.ClientDependencyType.Css, "DateTimePicker/datetimepicker.css", "UmbracoClient")] [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 SliderControl : PlaceHolder { /// diff --git a/src/umbraco.editorControls/Slider/SliderDataType.cs b/src/umbraco.editorControls/Slider/SliderDataType.cs index 5ad6919821..2a7a31c674 100644 --- a/src/umbraco.editorControls/Slider/SliderDataType.cs +++ b/src/umbraco.editorControls/Slider/SliderDataType.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.Slider /// /// A jQuery UI Slider data-type for Umbraco. /// + [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 SliderDataType : AbstractDataEditor { /// diff --git a/src/umbraco.editorControls/Slider/SliderOptions.cs b/src/umbraco.editorControls/Slider/SliderOptions.cs index b7c84a7bf1..3c96abf633 100644 --- a/src/umbraco.editorControls/Slider/SliderOptions.cs +++ b/src/umbraco.editorControls/Slider/SliderOptions.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.Slider @@ -6,6 +7,7 @@ namespace umbraco.editorControls.Slider /// /// The options for the Slider 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 SliderOptions : AbstractOptions { /// diff --git a/src/umbraco.editorControls/Slider/SliderPrevalueEditor.cs b/src/umbraco.editorControls/Slider/SliderPrevalueEditor.cs index 706ffee468..d80290dcc8 100644 --- a/src/umbraco.editorControls/Slider/SliderPrevalueEditor.cs +++ b/src/umbraco.editorControls/Slider/SliderPrevalueEditor.cs @@ -10,6 +10,7 @@ namespace umbraco.editorControls.Slider /// [ClientDependency.Core.ClientDependency(ClientDependency.Core.ClientDependencyType.Javascript, "ui/jqueryui.js", "UmbracoClient")] [ClientDependency.Core.ClientDependency(ClientDependency.Core.ClientDependencyType.Css, "DateTimePicker/datetimepicker.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 SliderPrevalueEditor : AbstractJsonPrevalueEditor { /// diff --git a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxList.cs b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxList.cs index b15a91eb71..f7477edb7f 100644 --- a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxList.cs +++ b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxList.cs @@ -1,8 +1,10 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using umbraco.NodeFactory; namespace umbraco.editorControls.XPathCheckBoxList { + [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 XPathCheckBoxList : uQuery.IGetProperty { public XPathCheckBoxList() diff --git a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataEditor.cs b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataEditor.cs index 7dd97d2196..20773c9c0c 100644 --- a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataEditor.cs +++ b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataEditor.cs @@ -11,6 +11,7 @@ namespace umbraco.editorControls.XPathCheckBoxList /// /// Renders a CheckBoxList using with option nodes obtained by an 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 class XPathCheckBoxListDataEditor : CompositeControl, IDataEditor { /// diff --git a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataType.cs b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataType.cs index 6862a3d242..55f46a9217 100644 --- a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataType.cs +++ b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListDataType.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.XPathCheckBoxList /// /// This datatype will render a CheckBoxList where the options are defined by an 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 class XPathCheckBoxListDataType : umbraco.cms.businesslogic.datatype.BaseDataType, IDataType { /// diff --git a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListOptions.cs b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListOptions.cs index 374951cf66..2555e6a5ae 100644 --- a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListOptions.cs +++ b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListOptions.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.XPathCheckBoxList /// /// DataType configuration options for the XPath 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 XPathCheckBoxListOptions : AbstractOptions { /// diff --git a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListPreValueEditor.cs b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListPreValueEditor.cs index 6d528b32c0..30dd2e93fd 100644 --- a/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListPreValueEditor.cs +++ b/src/umbraco.editorControls/XPathCheckBoxList/XPathCheckBoxListPreValueEditor.cs @@ -12,6 +12,7 @@ namespace umbraco.editorControls.XPathCheckBoxList /// TODO: [HR] min / max selections ? /// Uses the shared JsonPreValueEditor as nice way of lightweight serializing a config data class object into a single DB field /// + [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 XPathCheckBoxListPreValueEditor : AbstractJsonPrevalueEditor { /// diff --git a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataEditor.cs b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataEditor.cs index 30d8aabccf..912184988f 100644 --- a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataEditor.cs +++ b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataEditor.cs @@ -15,6 +15,7 @@ namespace umbraco.editorControls.XPathDropDownList /// /// XPath configurabale DropDownList 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 XPathDropDownListDataEditor : CompositeControl, IDataEditor { /// diff --git a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataType.cs b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataType.cs index 6426b171d3..c681900de5 100644 --- a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataType.cs +++ b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListDataType.cs @@ -7,6 +7,7 @@ namespace umbraco.editorControls.XPathDropDownList /// /// /// + [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 XPathDropDownListDataType : umbraco.cms.businesslogic.datatype.BaseDataType, IDataType { /// diff --git a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListOptions.cs b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListOptions.cs index a47a37f583..4ea9cb39a7 100644 --- a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListOptions.cs +++ b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListOptions.cs @@ -3,6 +3,7 @@ using System.ComponentModel; namespace umbraco.editorControls.XPathDropDownList { + [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 XPathDropDownListOptions : AbstractOptions { private string type = null; diff --git a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListPreValueEditor.cs b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListPreValueEditor.cs index 618fca66a7..c1923801d6 100644 --- a/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListPreValueEditor.cs +++ b/src/umbraco.editorControls/XPathDropDownList/XPathDropDownListPreValueEditor.cs @@ -7,6 +7,7 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.XPathDropDownList { + [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 XPathDropDownListPreValueEditor : AbstractJsonPrevalueEditor { /// diff --git a/src/umbraco.editorControls/XmlData.cs b/src/umbraco.editorControls/XmlData.cs index e8883fec3f..c35552a556 100644 --- a/src/umbraco.editorControls/XmlData.cs +++ b/src/umbraco.editorControls/XmlData.cs @@ -1,4 +1,5 @@ -using System.Xml; +using System; +using System.Xml; using Umbraco.Core; using umbraco.cms.businesslogic.datatype; @@ -7,6 +8,7 @@ namespace umbraco.editorControls /// /// Overrides the object to return the value as XML. /// + [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 XmlData : umbraco.cms.businesslogic.datatype.DefaultData { /// diff --git a/src/umbraco.editorControls/pagepicker/PagePickerDataType.cs b/src/umbraco.editorControls/pagepicker/PagePickerDataType.cs index f250bf13bb..34aad937b6 100644 --- a/src/umbraco.editorControls/pagepicker/PagePickerDataType.cs +++ b/src/umbraco.editorControls/pagepicker/PagePickerDataType.cs @@ -6,7 +6,8 @@ namespace umbraco.editorControls.pagepicker /// /// Summary description for PagePickerDataType. /// - public class PagePickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType + [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 PagePickerDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; private interfaces.IData _baseData; diff --git a/src/umbraco.editorControls/pagepicker/pagePicker.cs b/src/umbraco.editorControls/pagepicker/pagePicker.cs index 16693194dd..ad2771e839 100644 --- a/src/umbraco.editorControls/pagepicker/pagePicker.cs +++ b/src/umbraco.editorControls/pagepicker/pagePicker.cs @@ -16,6 +16,7 @@ namespace umbraco.editorControls /// Summary description for pagePicker. /// [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 pagePicker : BaseTreePickerEditor { diff --git a/src/umbraco.editorControls/radiobuttonlist/RadioButtonListDataType.cs b/src/umbraco.editorControls/radiobuttonlist/RadioButtonListDataType.cs index 7c0d9fe708..f8bc65f0bc 100644 --- a/src/umbraco.editorControls/radiobuttonlist/RadioButtonListDataType.cs +++ b/src/umbraco.editorControls/radiobuttonlist/RadioButtonListDataType.cs @@ -6,7 +6,8 @@ namespace umbraco.editorControls.radiobuttonlist /// /// Summary description for ColorPickerDataType. /// - public class RadioButtonListDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType + [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 RadioButtonListDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; private interfaces.IData _baseData; diff --git a/src/umbraco.editorControls/radiobuttonlist/radiobox.cs b/src/umbraco.editorControls/radiobuttonlist/radiobox.cs index 6ce21f18ad..14cb0e804b 100644 --- a/src/umbraco.editorControls/radiobuttonlist/radiobox.cs +++ b/src/umbraco.editorControls/radiobuttonlist/radiobox.cs @@ -6,7 +6,8 @@ using System.Collections; using System.Collections.Generic; namespace umbraco.editorControls { - public class radiobox : System.Web.UI.WebControls.RadioButtonList, interfaces.IDataEditor + [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 radiobox : System.Web.UI.WebControls.RadioButtonList, interfaces.IDataEditor { private interfaces.IData _data; private SortedList _prevalues; diff --git a/src/umbraco.editorControls/relatedlinks/PagePickerDataExtractor.cs b/src/umbraco.editorControls/relatedlinks/PagePickerDataExtractor.cs index 3d3d4ec766..360d970d82 100644 --- a/src/umbraco.editorControls/relatedlinks/PagePickerDataExtractor.cs +++ b/src/umbraco.editorControls/relatedlinks/PagePickerDataExtractor.cs @@ -14,6 +14,7 @@ namespace umbraco.editorControls.relatedlinks /// data (after the IDataEditor has performed a save()). /// This class was not designed for, but might work equally well for other datatypes. /// + [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 PagePickerDataExtractor : IData { private object _value; diff --git a/src/umbraco.editorControls/relatedlinks/RelatedLinksData.cs b/src/umbraco.editorControls/relatedlinks/RelatedLinksData.cs index 89287bcdb4..7df096ad65 100644 --- a/src/umbraco.editorControls/relatedlinks/RelatedLinksData.cs +++ b/src/umbraco.editorControls/relatedlinks/RelatedLinksData.cs @@ -6,6 +6,7 @@ using System.Xml; namespace umbraco.editorControls.relatedlinks { + [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 RelatedLinksData : umbraco.cms.businesslogic.datatype.DefaultData { public RelatedLinksData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { } diff --git a/src/umbraco.editorControls/relatedlinks/RelatedLinksDataEditor.cs b/src/umbraco.editorControls/relatedlinks/RelatedLinksDataEditor.cs index aad1a2e2ca..91bfb83c30 100644 --- a/src/umbraco.editorControls/relatedlinks/RelatedLinksDataEditor.cs +++ b/src/umbraco.editorControls/relatedlinks/RelatedLinksDataEditor.cs @@ -15,6 +15,7 @@ using Umbraco.Core.IO; namespace umbraco.editorControls.relatedlinks { [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 RelatedLinksDataEditor : UpdatePanel, IDataEditor { private umbraco.interfaces.IData _data; diff --git a/src/umbraco.editorControls/relatedlinks/RelatedLinksDataType.cs b/src/umbraco.editorControls/relatedlinks/RelatedLinksDataType.cs index 16b97acad7..2a332923cf 100644 --- a/src/umbraco.editorControls/relatedlinks/RelatedLinksDataType.cs +++ b/src/umbraco.editorControls/relatedlinks/RelatedLinksDataType.cs @@ -5,6 +5,7 @@ using Umbraco.Core; namespace umbraco.editorControls.relatedlinks { + [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 RelatedLinksDataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType { private umbraco.interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/relatedlinks/RelatedLinksPrevalueEditor.cs b/src/umbraco.editorControls/relatedlinks/RelatedLinksPrevalueEditor.cs index 4fcb1ffeb4..491305d5a2 100644 --- a/src/umbraco.editorControls/relatedlinks/RelatedLinksPrevalueEditor.cs +++ b/src/umbraco.editorControls/relatedlinks/RelatedLinksPrevalueEditor.cs @@ -10,6 +10,7 @@ using umbraco.editorControls; namespace umbraco.editorControls.relatedlinks { + [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 RelatedLinksPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue { #region IDataPrevalue Members diff --git a/src/umbraco.editorControls/simpleEditor/simpleEditor.cs b/src/umbraco.editorControls/simpleEditor/simpleEditor.cs index 8a7843a012..557cbf5899 100644 --- a/src/umbraco.editorControls/simpleEditor/simpleEditor.cs +++ b/src/umbraco.editorControls/simpleEditor/simpleEditor.cs @@ -10,7 +10,8 @@ namespace umbraco.editorControls.simpleEditor /// /// Summary description for simpleEditor. /// - public class SimpleEditor : System.Web.UI.WebControls.TextBox, interfaces.IDataEditor + [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 SimpleEditor : System.Web.UI.WebControls.TextBox, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/simpleEditor/simpleEditorDataType.cs b/src/umbraco.editorControls/simpleEditor/simpleEditorDataType.cs index 5d9b977132..9553436b58 100644 --- a/src/umbraco.editorControls/simpleEditor/simpleEditorDataType.cs +++ b/src/umbraco.editorControls/simpleEditor/simpleEditorDataType.cs @@ -6,7 +6,8 @@ namespace umbraco.editorControls.simpleEditor /// /// Summary description for simpleEditorDataType. /// - public class simpleEditorDataType : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType + [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 simpleEditorDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; private interfaces.IData _baseData; diff --git a/src/umbraco.editorControls/tags/DataEditor.cs b/src/umbraco.editorControls/tags/DataEditor.cs index 22c9fd423b..777a92ebd0 100644 --- a/src/umbraco.editorControls/tags/DataEditor.cs +++ b/src/umbraco.editorControls/tags/DataEditor.cs @@ -9,6 +9,7 @@ using umbraco.interfaces; namespace umbraco.editorControls.tags { + [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 : TextBox, IDataEditor, IUseTags { #region IDataEditor Members diff --git a/src/umbraco.editorControls/tags/DataType.cs b/src/umbraco.editorControls/tags/DataType.cs index 6ec69cdcd6..f951e0fd53 100644 --- a/src/umbraco.editorControls/tags/DataType.cs +++ b/src/umbraco.editorControls/tags/DataType.cs @@ -5,6 +5,7 @@ using datatype = umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.tags { + [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 : datatype.BaseDataType, IDataType { #region IDataType Members diff --git a/src/umbraco.editorControls/tags/PrevalueEditor.cs b/src/umbraco.editorControls/tags/PrevalueEditor.cs index 6436d98523..6bf70218e8 100644 --- a/src/umbraco.editorControls/tags/PrevalueEditor.cs +++ b/src/umbraco.editorControls/tags/PrevalueEditor.cs @@ -10,6 +10,7 @@ using datatype = umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.tags { + [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 TextBox _group; diff --git a/src/umbraco.editorControls/tags/library.cs b/src/umbraco.editorControls/tags/library.cs index cc91d073f4..31bf2249a3 100644 --- a/src/umbraco.editorControls/tags/library.cs +++ b/src/umbraco.editorControls/tags/library.cs @@ -13,6 +13,7 @@ using umbraco.interfaces; namespace umbraco.editorControls.tags { + [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 library { diff --git a/src/umbraco.editorControls/textfield/TextFieldDataType.cs b/src/umbraco.editorControls/textfield/TextFieldDataType.cs index ba0a659bd1..62ee31b816 100644 --- a/src/umbraco.editorControls/textfield/TextFieldDataType.cs +++ b/src/umbraco.editorControls/textfield/TextFieldDataType.cs @@ -3,6 +3,7 @@ using Umbraco.Core; namespace umbraco.editorControls.textfield { + [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 TextFieldDataType : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType { private interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/textfield/textFieldDataEditor.cs b/src/umbraco.editorControls/textfield/textFieldDataEditor.cs index 9ca94ba602..2496f25469 100644 --- a/src/umbraco.editorControls/textfield/textFieldDataEditor.cs +++ b/src/umbraco.editorControls/textfield/textFieldDataEditor.cs @@ -6,6 +6,7 @@ using System.Collections; namespace umbraco.editorControls.textfield { + [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 TextFieldEditor : TextBox, interfaces.IDataEditor { private interfaces.IData _data; diff --git a/src/umbraco.editorControls/textfieldmultiple/textfieldMultipleDataType.cs b/src/umbraco.editorControls/textfieldmultiple/textfieldMultipleDataType.cs index 131d1df44c..dab2000c04 100644 --- a/src/umbraco.editorControls/textfieldmultiple/textfieldMultipleDataType.cs +++ b/src/umbraco.editorControls/textfieldmultiple/textfieldMultipleDataType.cs @@ -3,6 +3,7 @@ using Umbraco.Core; namespace umbraco.editorControls.textfieldmultiple { + [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 textfieldMultipleDataType : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType { private textfield.TextFieldEditor _textFieldEditor; diff --git a/src/umbraco.editorControls/tinyMCE3/TinyMCE.cs b/src/umbraco.editorControls/tinyMCE3/TinyMCE.cs index 0edd0aad4c..9d6cd520e7 100644 --- a/src/umbraco.editorControls/tinyMCE3/TinyMCE.cs +++ b/src/umbraco.editorControls/tinyMCE3/TinyMCE.cs @@ -18,6 +18,7 @@ using umbraco.uicontrols; namespace umbraco.editorControls.tinyMCE3 { + [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 TinyMCE : TinyMCEWebControl, IDataEditor, IMenuElement { private readonly string _activateButtons = ""; diff --git a/src/umbraco.editorControls/tinyMCE3/tinymce3dataType.cs b/src/umbraco.editorControls/tinyMCE3/tinymce3dataType.cs index 833c064db8..dfc2f54d61 100644 --- a/src/umbraco.editorControls/tinyMCE3/tinymce3dataType.cs +++ b/src/umbraco.editorControls/tinyMCE3/tinymce3dataType.cs @@ -5,6 +5,7 @@ using Umbraco.Core; namespace umbraco.editorControls.tinyMCE3 { + [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 tinyMCE3dataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType { private umbraco.interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs index 3093b42003..9be573734e 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs @@ -16,6 +16,7 @@ using File = System.IO.File; namespace umbraco.editorControls.tinyMCE3.webcontrol { + [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 TinyMCEWebControl : TextBox { internal readonly MediaFileSystem _fs; diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/ConfigSection.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/ConfigSection.cs index ec4d7764cf..7f5ef2421f 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/ConfigSection.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/ConfigSection.cs @@ -13,7 +13,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of ConfigSection. /// - public class ConfigSection { + [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 ConfigSection + { #region private private NameValueCollection globalSettings; private bool gzipEnabled, gzipDiskCache, gzipNoCompression; diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipCompressor.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipCompressor.cs index f95d66c536..cbd2fc24d8 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipCompressor.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipCompressor.cs @@ -18,7 +18,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of GzipCompressor. /// - public class GzipCompressor { + [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 GzipCompressor + { #region private private bool diskCache, noCompression; private string cachePath; diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipModule.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipModule.cs index c8da3ea402..0224ae4d05 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipModule.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/GzipModule.cs @@ -16,6 +16,7 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of HttpHandler. /// + [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 GzipModule : IModule { /// diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/IModule.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/IModule.cs index 8666b82996..5e880a9bce 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/IModule.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/IModule.cs @@ -14,7 +14,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin { /// /// Description of IAction. /// - public interface IModule { + [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 interface IModule + { /// /// /// diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSON.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSON.cs index 37449f5624..03a677dbba 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSON.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSON.cs @@ -14,7 +14,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of JSON. /// - public class JSON { + [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 JSON + { /// /// /// diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONReader.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONReader.cs index 0a4c469515..24b19f2309 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONReader.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONReader.cs @@ -14,7 +14,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// /// - public enum JSONToken { + [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 JSONToken + { /// Boolean, @@ -49,7 +51,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of JSONReader. /// - public class JSONReader { + [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 JSONReader + { private TextReader reader; private JSONToken token; private object val; diff --git a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONWriter.cs b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONWriter.cs index 01dcd301e9..38b5038cfc 100644 --- a/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONWriter.cs +++ b/src/umbraco.editorControls/tinyMCE3/webcontrol/plugin/JSONWriter.cs @@ -14,7 +14,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// /// - public enum JSONLocation { + [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 JSONLocation + { /// InArray, @@ -28,7 +30,9 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol.plugin /// /// Description of JSONWriter. /// - public class JSONWriter { + [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 JSONWriter + { private TextWriter writer; private JSONLocation location; private Stack lastLocations; diff --git a/src/umbraco.editorControls/tinymce/tinyMCEConfiguration.cs b/src/umbraco.editorControls/tinymce/tinyMCEConfiguration.cs index 1ff6e3642d..1ce5c724c6 100644 --- a/src/umbraco.editorControls/tinymce/tinyMCEConfiguration.cs +++ b/src/umbraco.editorControls/tinymce/tinyMCEConfiguration.cs @@ -7,7 +7,7 @@ using Umbraco.Core.IO; namespace umbraco.editorControls.tinymce { - + [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 tinyMCEConfiguration { private static bool _init = false; diff --git a/src/umbraco.editorControls/tinymce/tinyMCEImageHelper.cs b/src/umbraco.editorControls/tinymce/tinyMCEImageHelper.cs index 23da99829f..d524e97820 100644 --- a/src/umbraco.editorControls/tinymce/tinyMCEImageHelper.cs +++ b/src/umbraco.editorControls/tinymce/tinyMCEImageHelper.cs @@ -10,6 +10,7 @@ using umbraco.cms.businesslogic.Files; namespace umbraco.editorControls.tinymce { + [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 tinyMCEImageHelper { public static string cleanImages(string html) diff --git a/src/umbraco.editorControls/tinymce/tinyMCEPreValueConfigurator.cs b/src/umbraco.editorControls/tinymce/tinyMCEPreValueConfigurator.cs index 10741b9c35..533a961416 100644 --- a/src/umbraco.editorControls/tinymce/tinyMCEPreValueConfigurator.cs +++ b/src/umbraco.editorControls/tinymce/tinyMCEPreValueConfigurator.cs @@ -10,6 +10,7 @@ using umbraco.DataLayer; namespace umbraco.editorControls.tinymce { + [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 tinyMCEPreValueConfigurator : System.Web.UI.WebControls.PlaceHolder, interfaces.IDataPrevalue { // UI controls diff --git a/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataEditor.cs b/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataEditor.cs index 3155fc7ba5..5d7f2d9a75 100644 --- a/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataEditor.cs +++ b/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataEditor.cs @@ -10,6 +10,7 @@ using ClientDependency.Core; namespace umbraco.editorControls.ultimatepicker { [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 ultimatePickerDataEditor : UpdatePanel, IDataEditor { private IData _data; diff --git a/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataType.cs b/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataType.cs index 674fb151c1..c448e227a2 100644 --- a/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataType.cs +++ b/src/umbraco.editorControls/ultimatepicker/ultimatePickerDataType.cs @@ -11,6 +11,7 @@ using Umbraco.Core; namespace umbraco.editorControls.ultimatepicker { + [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 ultimatePickerDataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType { private umbraco.interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/ultimatepicker/ultimatePickerPrevalueEditor.cs b/src/umbraco.editorControls/ultimatepicker/ultimatePickerPrevalueEditor.cs index 7f03e1d529..a0e78966b9 100644 --- a/src/umbraco.editorControls/ultimatepicker/ultimatePickerPrevalueEditor.cs +++ b/src/umbraco.editorControls/ultimatepicker/ultimatePickerPrevalueEditor.cs @@ -16,6 +16,7 @@ using umbraco.editorControls; namespace umbraco.editorControls.ultimatepicker { + [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 ultimatePickerPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue { public ISqlHelper SqlHelper diff --git a/src/umbraco.editorControls/uploadfield/DataTypeUploadField.cs b/src/umbraco.editorControls/uploadfield/DataTypeUploadField.cs index 81b140744b..459199b7e8 100644 --- a/src/umbraco.editorControls/uploadfield/DataTypeUploadField.cs +++ b/src/umbraco.editorControls/uploadfield/DataTypeUploadField.cs @@ -6,7 +6,8 @@ namespace umbraco.editorControls.uploadfield /// /// Summary description for DataTypeUploadField. /// - public class DataTypeUploadField : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType + [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 DataTypeUploadField : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _editor; private interfaces.IData _baseData; diff --git a/src/umbraco.editorControls/uploadfield/uploadField.cs b/src/umbraco.editorControls/uploadfield/uploadField.cs index 747febe57b..439c7b6ecf 100644 --- a/src/umbraco.editorControls/uploadfield/uploadField.cs +++ b/src/umbraco.editorControls/uploadfield/uploadField.cs @@ -16,6 +16,7 @@ using Umbraco.Core; namespace umbraco.editorControls { [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 uploadField : HtmlInputFile, IDataEditor { private const string Thumbnailext = ".jpg"; diff --git a/src/umbraco.editorControls/uploadfield/uploadFieldPreValue.cs b/src/umbraco.editorControls/uploadfield/uploadFieldPreValue.cs index b2959622c9..9fb0e526c4 100644 --- a/src/umbraco.editorControls/uploadfield/uploadFieldPreValue.cs +++ b/src/umbraco.editorControls/uploadfield/uploadFieldPreValue.cs @@ -8,6 +8,7 @@ using umbraco.DataLayer; namespace umbraco.editorControls.uploadfield { + [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 uploadFieldPreValue : System.Web.UI.WebControls.PlaceHolder, interfaces.IDataPrevalue { diff --git a/src/umbraco.editorControls/userControlWrapper/IUsercontrolDataEditor.cs b/src/umbraco.editorControls/userControlWrapper/IUsercontrolDataEditor.cs index b480e973a7..43fe21b4ef 100644 --- a/src/umbraco.editorControls/userControlWrapper/IUsercontrolDataEditor.cs +++ b/src/umbraco.editorControls/userControlWrapper/IUsercontrolDataEditor.cs @@ -1,12 +1,15 @@ +using System; using umbraco.cms.businesslogic.property; namespace umbraco.editorControls.userControlGrapper { + [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 interface IUsercontrolDataEditor { object value { get; set;} } + [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 interface IUsercontrolPropertyData { Property PropertyObject { set; } diff --git a/src/umbraco.editorControls/userControlWrapper/SerializationHelper.cs b/src/umbraco.editorControls/userControlWrapper/SerializationHelper.cs index 128754ed4a..8d114f49d3 100644 --- a/src/umbraco.editorControls/userControlWrapper/SerializationHelper.cs +++ b/src/umbraco.editorControls/userControlWrapper/SerializationHelper.cs @@ -6,6 +6,7 @@ using System.Xml; namespace umbraco.editorControls.userControlGrapper { + [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 SerializationHelper { public static object ValueFromXmlString(object value, Type type) diff --git a/src/umbraco.editorControls/userControlWrapper/usercontrolData.cs b/src/umbraco.editorControls/userControlWrapper/usercontrolData.cs index ee1386c648..117907cdf7 100644 --- a/src/umbraco.editorControls/userControlWrapper/usercontrolData.cs +++ b/src/umbraco.editorControls/userControlWrapper/usercontrolData.cs @@ -6,6 +6,7 @@ using System.Xml; namespace umbraco.editorControls.userControlGrapper { + [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 usercontrolData : umbraco.cms.businesslogic.datatype.DefaultData { public usercontrolData(umbraco.cms.businesslogic.datatype.BaseDataType DataType) : base(DataType) { } diff --git a/src/umbraco.editorControls/userControlWrapper/usercontrolDataEditor.cs b/src/umbraco.editorControls/userControlWrapper/usercontrolDataEditor.cs index 65aef26d7a..60219d0a6f 100644 --- a/src/umbraco.editorControls/userControlWrapper/usercontrolDataEditor.cs +++ b/src/umbraco.editorControls/userControlWrapper/usercontrolDataEditor.cs @@ -8,6 +8,7 @@ using System.Collections.Generic; namespace umbraco.editorControls.userControlGrapper { [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 usercontrolDataEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataEditor { private umbraco.interfaces.IData _data; diff --git a/src/umbraco.editorControls/userControlWrapper/usercontrolDataType.cs b/src/umbraco.editorControls/userControlWrapper/usercontrolDataType.cs index d4e3c775de..3b32d576df 100644 --- a/src/umbraco.editorControls/userControlWrapper/usercontrolDataType.cs +++ b/src/umbraco.editorControls/userControlWrapper/usercontrolDataType.cs @@ -11,6 +11,7 @@ using Umbraco.Core; namespace umbraco.editorControls.userControlGrapper { + [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 usercontrolDataType : umbraco.cms.businesslogic.datatype.BaseDataType, umbraco.interfaces.IDataType { private umbraco.interfaces.IDataEditor _Editor; diff --git a/src/umbraco.editorControls/userControlWrapper/usercontrolPrevalueEditor.cs b/src/umbraco.editorControls/userControlWrapper/usercontrolPrevalueEditor.cs index 096b708804..228a3ae81d 100644 --- a/src/umbraco.editorControls/userControlWrapper/usercontrolPrevalueEditor.cs +++ b/src/umbraco.editorControls/userControlWrapper/usercontrolPrevalueEditor.cs @@ -19,7 +19,8 @@ using umbraco.cms.businesslogic.datatype; namespace umbraco.editorControls.userControlGrapper { - public class usercontrolPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue + [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 usercontrolPrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue { public ISqlHelper SqlHelper { diff --git a/src/umbraco.editorControls/wysiwyg/editorButton.cs b/src/umbraco.editorControls/wysiwyg/editorButton.cs index 4345927e38..3a2b4c9bf1 100644 --- a/src/umbraco.editorControls/wysiwyg/editorButton.cs +++ b/src/umbraco.editorControls/wysiwyg/editorButton.cs @@ -5,6 +5,7 @@ using System.Text; namespace umbraco.editorControls.wysiwyg { + [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 editorButton { public string imageUrl; diff --git a/src/umbraco.editorControls/yesno/YesNoDataType.cs b/src/umbraco.editorControls/yesno/YesNoDataType.cs index abe014b9ac..699af1a364 100644 --- a/src/umbraco.editorControls/yesno/YesNoDataType.cs +++ b/src/umbraco.editorControls/yesno/YesNoDataType.cs @@ -6,7 +6,8 @@ namespace umbraco.editorControls.yesno /// /// Summary description for YesNoDataType. /// - public class YesNoDataType : cms.businesslogic.datatype.BaseDataType,interfaces.IDataType + [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 YesNoDataType : cms.businesslogic.datatype.BaseDataType, interfaces.IDataType { private interfaces.IDataEditor _Editor; private interfaces.IData _baseData; diff --git a/src/umbraco.editorControls/yesno/yesNo.cs b/src/umbraco.editorControls/yesno/yesNo.cs index 00a5e34945..3b79a0c440 100644 --- a/src/umbraco.editorControls/yesno/yesNo.cs +++ b/src/umbraco.editorControls/yesno/yesNo.cs @@ -8,7 +8,8 @@ namespace umbraco.editorControls /// /// Generates a radiolist of yes and no for boolean fields /// - public class yesNo : System.Web.UI.WebControls.CheckBox, interfaces.IDataEditor + [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 yesNo : System.Web.UI.WebControls.CheckBox, interfaces.IDataEditor { private interfaces.IData _data;