From 5d8ec63fb8d2e8ba59ff9d1a08eab942c0fea191 Mon Sep 17 00:00:00 2001 From: "xb.teng" Date: Fri, 10 Nov 2017 15:48:59 +0800 Subject: [PATCH] [NUI] Add Obsolete attributes for EditorBrowsable apis Change-Id: Ifb04e8b7379c0c05662e1539fe93fa32383f4f5e --- src/Tizen.NUI/src/internal/ActivatedSignalType.cs | 1 + .../src/internal/ConnectionTrackerInterface.cs | 1 + src/Tizen.NUI/src/internal/ImfEventSignalType.cs | 1 + src/Tizen.NUI/src/internal/ImfVoidSignalType.cs | 1 + .../src/internal/KeyboardResizedSignalType.cs | 1 + .../src/internal/LanguageChangedSignalType.cs | 1 + .../src/internal/SWIGTYPE_p_CallbackBase.cs | 1 + .../src/internal/SWIGTYPE_p_Dali__CallbackBase.cs | 1 + .../internal/SWIGTYPE_p_Dali__FunctorDelegate.cs | 1 + src/Tizen.NUI/src/internal/SignalObserver.cs | 1 + src/Tizen.NUI/src/internal/Size.cs | 1 + src/Tizen.NUI/src/internal/SlotObserver.cs | 1 + src/Tizen.NUI/src/internal/StatusSignalType.cs | 1 + src/Tizen.NUI/src/internal/Uint16Pair.cs | 1 + .../src/public/BaseComponents/ImageView.cs | 7 +++- .../src/public/BaseComponents/TableView.cs | 2 +- .../src/public/BaseComponents/TextEditor.cs | 2 +- .../src/public/BaseComponents/TextField.cs | 2 +- .../src/public/BaseComponents/TextLabel.cs | 5 ++- .../src/public/BaseComponents/VideoView.cs | 2 +- src/Tizen.NUI/src/public/BaseComponents/View.cs | 46 +++++++++++++++------- src/Tizen.NUI/src/public/BaseHandle.cs | 4 +- src/Tizen.NUI/src/public/FocusManager.cs | 14 ++++++- src/Tizen.NUI/src/public/ImfManager.cs | 32 ++++++++++++++- src/Tizen.NUI/src/public/KeyFrames.cs | 2 +- src/Tizen.NUI/src/public/Layer.cs | 2 +- src/Tizen.NUI/src/public/NUIApplication.cs | 2 +- src/Tizen.NUI/src/public/NUIConstants.cs | 5 ++- src/Tizen.NUI/src/public/NUIWidgetApplication.cs | 2 +- src/Tizen.NUI/src/public/PaddingType.cs | 4 +- src/Tizen.NUI/src/public/Path.cs | 2 +- src/Tizen.NUI/src/public/PixelData.cs | 1 + src/Tizen.NUI/src/public/Position.cs | 28 ++++++------- src/Tizen.NUI/src/public/Property.cs | 8 ++-- src/Tizen.NUI/src/public/StyleManager.cs | 1 + src/Tizen.NUI/src/public/TTSPlayer.cs | 1 + src/Tizen.NUI/src/public/Timer.cs | 2 +- src/Tizen.NUI/src/public/UIComponents/Popup.cs | 2 +- .../src/public/UIComponents/PushButton.cs | 16 ++++---- src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs | 2 +- src/Tizen.NUI/src/public/VisualBase.cs | 2 +- src/Tizen.NUI/src/public/VisualFactory.cs | 5 +++ src/Tizen.NUI/src/public/VisualMaps.cs | 1 - src/Tizen.NUI/src/public/Widget.cs | 1 + src/Tizen.NUI/src/public/Window.cs | 10 ++++- 45 files changed, 164 insertions(+), 65 deletions(-) mode change 100644 => 100755 src/Tizen.NUI/src/internal/KeyboardResizedSignalType.cs mode change 100644 => 100755 src/Tizen.NUI/src/internal/LanguageChangedSignalType.cs mode change 100644 => 100755 src/Tizen.NUI/src/public/BaseComponents/TableView.cs mode change 100644 => 100755 src/Tizen.NUI/src/public/PixelData.cs mode change 100644 => 100755 src/Tizen.NUI/src/public/VisualFactory.cs mode change 100644 => 100755 src/Tizen.NUI/src/public/Widget.cs mode change 100644 => 100755 src/Tizen.NUI/src/public/Window.cs diff --git a/src/Tizen.NUI/src/internal/ActivatedSignalType.cs b/src/Tizen.NUI/src/internal/ActivatedSignalType.cs index e9dce77..e15df28 100755 --- a/src/Tizen.NUI/src/internal/ActivatedSignalType.cs +++ b/src/Tizen.NUI/src/internal/ActivatedSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ActivatedSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs b/src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs index 52c77c3..9f601ae 100755 --- a/src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs +++ b/src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ConnectionTrackerInterface : SignalObserver { diff --git a/src/Tizen.NUI/src/internal/ImfEventSignalType.cs b/src/Tizen.NUI/src/internal/ImfEventSignalType.cs index 9a3adba..8726e02 100755 --- a/src/Tizen.NUI/src/internal/ImfEventSignalType.cs +++ b/src/Tizen.NUI/src/internal/ImfEventSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfEventSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/ImfVoidSignalType.cs b/src/Tizen.NUI/src/internal/ImfVoidSignalType.cs index f46e6f9..97bf8c9 100755 --- a/src/Tizen.NUI/src/internal/ImfVoidSignalType.cs +++ b/src/Tizen.NUI/src/internal/ImfVoidSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfVoidSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/KeyboardResizedSignalType.cs b/src/Tizen.NUI/src/internal/KeyboardResizedSignalType.cs old mode 100644 new mode 100755 index ec0cac0..41b4c18 --- a/src/Tizen.NUI/src/internal/KeyboardResizedSignalType.cs +++ b/src/Tizen.NUI/src/internal/KeyboardResizedSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class KeyboardResizedSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/LanguageChangedSignalType.cs b/src/Tizen.NUI/src/internal/LanguageChangedSignalType.cs old mode 100644 new mode 100755 index 1c11172..aca37ea --- a/src/Tizen.NUI/src/internal/LanguageChangedSignalType.cs +++ b/src/Tizen.NUI/src/internal/LanguageChangedSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class LanguageChangedSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/SWIGTYPE_p_CallbackBase.cs b/src/Tizen.NUI/src/internal/SWIGTYPE_p_CallbackBase.cs index 0f833e3..6fe4a73 100755 --- a/src/Tizen.NUI/src/internal/SWIGTYPE_p_CallbackBase.cs +++ b/src/Tizen.NUI/src/internal/SWIGTYPE_p_CallbackBase.cs @@ -17,6 +17,7 @@ namespace Tizen.NUI /// This should be internal, please do not use. /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SWIGTYPE_p_CallbackBase { diff --git a/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs b/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs index ca41065..9896aa3 100755 --- a/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs +++ b/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs @@ -17,6 +17,7 @@ namespace Tizen.NUI /// This should be internal, please do not use. /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SWIGTYPE_p_Dali__CallbackBase { diff --git a/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__FunctorDelegate.cs b/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__FunctorDelegate.cs index bc676a3..3dcd4cf 100755 --- a/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__FunctorDelegate.cs +++ b/src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__FunctorDelegate.cs @@ -17,6 +17,7 @@ namespace Tizen.NUI /// This should be internal, please do not use. /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SWIGTYPE_p_Dali__FunctorDelegate { diff --git a/src/Tizen.NUI/src/internal/SignalObserver.cs b/src/Tizen.NUI/src/internal/SignalObserver.cs index 1fd66db..dce29d4 100755 --- a/src/Tizen.NUI/src/internal/SignalObserver.cs +++ b/src/Tizen.NUI/src/internal/SignalObserver.cs @@ -25,6 +25,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SignalObserver : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/Size.cs b/src/Tizen.NUI/src/internal/Size.cs index 1d76f1b..6218824 100755 --- a/src/Tizen.NUI/src/internal/Size.cs +++ b/src/Tizen.NUI/src/internal/Size.cs @@ -25,6 +25,7 @@ namespace Tizen.NUI /// A three-dimensional size. /// /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use Size2D instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class Size : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/SlotObserver.cs b/src/Tizen.NUI/src/internal/SlotObserver.cs index f41cd30..5435c05 100755 --- a/src/Tizen.NUI/src/internal/SlotObserver.cs +++ b/src/Tizen.NUI/src/internal/SlotObserver.cs @@ -26,6 +26,7 @@ namespace Tizen.NUI /// This is used by the slot if wants to disconnect or is deleted.
/// /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SlotObserver : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/StatusSignalType.cs b/src/Tizen.NUI/src/internal/StatusSignalType.cs index c6af292..91302d1 100755 --- a/src/Tizen.NUI/src/internal/StatusSignalType.cs +++ b/src/Tizen.NUI/src/internal/StatusSignalType.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class StatusSignalType : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/internal/Uint16Pair.cs b/src/Tizen.NUI/src/internal/Uint16Pair.cs index e2c7a36..e85cfa3 100755 --- a/src/Tizen.NUI/src/internal/Uint16Pair.cs +++ b/src/Tizen.NUI/src/internal/Uint16Pair.cs @@ -31,6 +31,7 @@ namespace Tizen.NUI /// common architectures.
/// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class Uint16Pair : global::System.IDisposable { diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index a2379b3..c07d3fd 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -198,7 +198,10 @@ namespace Tizen.NUI.BaseComponents /// Please do not use! this will be deprecated! /// Instead please use as keyword. /// 3 - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead! " + + "Like: " + + "BaseHandle handle = new ImageView(imagePath); " + + "ImageView image = handle as ImageView")] [EditorBrowsable(EditorBrowsableState.Never)] public new static ImageView DownCast(BaseHandle handle) { @@ -206,6 +209,7 @@ namespace Tizen.NUI.BaseComponents if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } + /// /// Sets this ImageView from the given URL.
/// If the URL is empty, ImageView will not display anything.
@@ -269,6 +273,7 @@ namespace Tizen.NUI.BaseComponents /// ImageView ImageMap, type PropertyMap: string if it is a URL, map otherwise. ///
/// 3 + [Obsolete("Please do not use! This will be deprecated! Please use Image property instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public PropertyMap ImageMap { diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs old mode 100644 new mode 100755 index b39d954..75be6e6 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -360,7 +360,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static TableView DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index 3702169..a1412bc 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -343,7 +343,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static TextEditor DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index 6e928f2..31674df 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -325,7 +325,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static TextField DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 3d685f5..7f11c31 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -146,7 +146,10 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead! " + + "Like: " + + "BaseHandle handle = new TextLabel(\"Hello World!\"); " + + "TextLabel label = handle as TextLabel")] [EditorBrowsable(EditorBrowsableState.Never)] public new static TextLabel DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs index 87c4d33..b4c2c63 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs @@ -195,7 +195,7 @@ namespace Tizen.NUI.BaseComponents /// Please do not use! this will be deprecated! /// Instead please use as keyword. /// 3 - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static VideoView DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 5fbffa9..0497b16 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1163,7 +1163,7 @@ namespace Tizen.NUI.BaseComponents /// A handle to an object. /// A handle to a view or an uninitialized handle. /// 3 - [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static View DownCast(BaseHandle handle) { @@ -1176,7 +1176,7 @@ namespace Tizen.NUI.BaseComponents /// [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static T DownCast(View view) where T : View { @@ -2108,7 +2108,7 @@ namespace Tizen.NUI.BaseComponents /// [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")] + [Obsolete("Please do not use! This will be deprecated! Please use Visibility instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public bool Visible { @@ -2198,7 +2198,11 @@ namespace Tizen.NUI.BaseComponents /// Please do not use! this will be deprecated! /// Instead please use PositionUsesPivotPoint. /// 3 - [Obsolete("Please do not use! this will be deprecated, instead please use PositionUsesPivotPoint")] + [Obsolete("Please do not use! This will be deprecated! Please use PositionUsesPivotPoint instead! " + + "Like: " + + "View view = new View(); " + + "view.PivotPoint = PivotPoint.Center; " + + "view.PositionUsesPivotPoint = true;")] [EditorBrowsable(EditorBrowsableState.Never)] public bool PositionUsesAnchorPoint { @@ -2283,7 +2287,10 @@ namespace Tizen.NUI.BaseComponents /// /// Please do not use! this will be deprecated! /// Instead please use NaturalSize2D. /// 3 - [Obsolete("Please do not use! this will be deprecated, please use NaturalSize2D instead")] + [Obsolete("Please do not use! This will be deprecated! Please use NaturalSize2D instead! " + + "Like: " + + "TextLabel label = new TextLabel(\"Hello World!\"); " + + "Size2D size = view.NaturalSize2D;")] [EditorBrowsable(EditorBrowsableState.Never)] public Vector3 NaturalSize { @@ -4197,7 +4204,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use TouchEvent. - [Obsolete("Please do not use! this will be deprecated, instead please use TouchEvent.")] + [Obsolete("Please do not use! This will be deprecated! Please use TouchEvent instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType Touched { @@ -4230,7 +4237,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use HoverEvent. - [Obsolete("Please do not use! this will be deprecated, instead please use HoverEvent.")] + [Obsolete("Please do not use! This will be deprecated! Please use HoverEvent instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType Hovered { @@ -4263,7 +4270,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use WheelEvent. - [Obsolete("Please do not use! this will be deprecated, instead please use WheelEvent.")] + [Obsolete("Please do not use! This will be deprecated! Please use WheelEvent instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType WheelMoved { @@ -4296,7 +4303,11 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPoint. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPoint")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead! " + + "Like: " + + "View view = new View(); " + + "view.PivotPoint = PivotPoint.Center; " + + "view.PositionUsesPivotPoint = true;")] [EditorBrowsable(EditorBrowsableState.Never)] public Position AnchorPoint { @@ -4316,7 +4327,10 @@ namespace Tizen.NUI.BaseComponents /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated, please use Size2D instead")] + [Obsolete("Please do not use! This will be deprecated! Please use Size2D instead! " + + "Like: " + + "View view = new View(); " + + "view.Size2D = new Size2D(100, 100);")] [EditorBrowsable(EditorBrowsableState.Never)] public Size Size { @@ -4338,7 +4352,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use AddedToWindow. - [Obsolete("Please do not use! this will be deprecated, instead please use AddedToWindow")] + [Obsolete("Please do not use! This will be deprecated! Please use AddedToWindow instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OnWindowEvent { @@ -4370,7 +4384,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use RemovedFromWindow. - [Obsolete("Please do not use! this will be deprecated, instead please use RemovedFromWindow")] + [Obsolete("Please do not use! This will be deprecated! Please use RemovedFromWindow instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OffWindowEvent { @@ -4402,7 +4416,7 @@ namespace Tizen.NUI.BaseComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use Relayout. - [Obsolete("Please do not use! this will be deprecated, instead please use Relayout")] + [Obsolete("Please do not use! This will be deprecated! Please use Relayout instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OnRelayoutEvent { @@ -4433,7 +4447,11 @@ namespace Tizen.NUI.BaseComponents /// "Please DO NOT use! This will be deprecated! Please use 'Container GetParent() for derived class' instead!" /// /// 3 - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [Obsolete("Please do not use! This will be deprecated! Please use 'Container GetParent() for derived class' instead! " + + "Like: " + + "Container parent = view.GetParent(); " + + "View view = parent as View;")] + [EditorBrowsable(EditorBrowsableState.Never)] public new View Parent { get diff --git a/src/Tizen.NUI/src/public/BaseHandle.cs b/src/Tizen.NUI/src/public/BaseHandle.cs index f024dac..f4ffc62 100755 --- a/src/Tizen.NUI/src/public/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/BaseHandle.cs @@ -14,7 +14,7 @@ * limitations under the License. * */ - +using System; using System.ComponentModel; namespace Tizen.NUI @@ -305,6 +305,7 @@ namespace Tizen.NUI /// True if equal. /// 4 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public override bool Equals(object o) { @@ -317,6 +318,7 @@ namespace Tizen.NUI /// The Hash Code. /// 4 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() { diff --git a/src/Tizen.NUI/src/public/FocusManager.cs b/src/Tizen.NUI/src/public/FocusManager.cs index 4c75616..d1d57b7 100755 --- a/src/Tizen.NUI/src/public/FocusManager.cs +++ b/src/Tizen.NUI/src/public/FocusManager.cs @@ -50,6 +50,7 @@ namespace Tizen.NUI /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { @@ -768,6 +769,11 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated. /// Instead please use FocusedViewActivatedEventArgs. + [Obsolete("Please do not use! This will be deprecated! Please use FocusedViewActivatedEventArgs instead! " + + "Like: " + + "FocusManager.Instance.FocusedViewActivated = OnFocusedViewActivated; " + + "private void OnFocusedViewActivated(object source, FocusManager.FocusedViewActivatedEventArgs arg)" + + "{...}")] [EditorBrowsable(EditorBrowsableState.Never)] public class FocusedViewEnterKeyEventArgs : EventArgs { @@ -801,7 +807,10 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use FocusedViewActivated. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE Tizen.NUI.FocusManager.FocusedViewActivated!")] + [Obsolete("Please do not use! This will be deprecated! Please use FocusManager.FocusedViewActivated instead! " + + "Like: " + + "FocusManager.Instance.FocusedViewActivated = OnFocusedViewActivated; " + + "private void OnFocusedViewActivated(object source, FocusManager.FocusedViewActivatedEventArgs args) {...}")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler FocusedViewEnterKeyPressed { @@ -824,12 +833,13 @@ namespace Tizen.NUI } } } + /// /// Please do not use! this will be deprecated! /// /// Please do not use! this will be deprecated! /// Instead please use OnFocusedViewEnterKey. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE Tizen.NUI.FocusManager.OnFocusedViewEnterKey")] + [Obsolete("Please do not use! This will be deprecated! Please use FocusManager.OnFocusedViewEnterKey instead!")] [EditorBrowsable(EditorBrowsableState.Never)] private void OnFocusedViewEnterKey2(IntPtr view) { diff --git a/src/Tizen.NUI/src/public/ImfManager.cs b/src/Tizen.NUI/src/public/ImfManager.cs index 176e8d5..24ee3e0 100755 --- a/src/Tizen.NUI/src/public/ImfManager.cs +++ b/src/Tizen.NUI/src/public/ImfManager.cs @@ -63,6 +63,7 @@ namespace Tizen.NUI /// Please DO NOT use! This will be deprecated! /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { @@ -263,6 +264,7 @@ namespace Tizen.NUI /// The pre-edit or the commit string. /// /// /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use PredictiveString instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public string predictiveString { @@ -303,6 +305,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use EventName instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public ImfManager.ImfEvent eventName { @@ -343,6 +346,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use CursorOffset instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public int cursorOffset { @@ -383,6 +387,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use NumberOfChars instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public int numberOfChars { @@ -564,6 +569,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use CurrentText instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public string currentText { @@ -604,6 +610,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use CursorPosition instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public int cursorPosition { @@ -644,6 +651,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use Update instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public bool update { @@ -684,6 +692,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use PreeditResetRequired instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public bool preeditResetRequired { @@ -733,8 +742,12 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - /// Please DO NOT use! This will be deprecated, instead please USE Tizen.NUI.ImfManager.Instance.DestroyContext()! - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE Tizen.NUI.ImfManager.Instance.DestroyContext()!")] + /// + /// Destroy the context of the IMF.
+ ///
+ /// 4 + /// Please do not use! This will be deprecated, instead please USE Tizen.NUI.ImfManager.Instance.DestroyContext()! + [Obsolete("Please do not use! This will be deprecated! Please use ImfManager.Instance.DestroyContext() instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Finalize() { @@ -1028,6 +1041,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use ActivatedEventArgs instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfManagerActivatedEventArgs : EventArgs { @@ -1052,6 +1066,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use Activated instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ImfManagerActivated { @@ -1160,6 +1175,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be internal /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public ActivatedSignalType ActivatedSignal() { @@ -1173,6 +1189,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use EventReceivedEventArgs instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfManagerEventReceivedEventArgs : EventArgs { @@ -1196,6 +1213,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use EventReceived instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ImfManagerEventReceived { @@ -1327,6 +1345,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be internal /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public ImfEventSignalType EventReceivedSignal() { @@ -1340,6 +1359,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use StatusChangedEventArgs instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfManagerStatusChangedEventArgs : EventArgs { @@ -1363,6 +1383,7 @@ namespace Tizen.NUI /// /// Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use StatusChanged instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ImfManagerStatusChanged { @@ -1467,6 +1488,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be internal /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public StatusSignalType StatusChangedSignal() { @@ -1480,6 +1502,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use ResizedEventArgs instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfManagerResizedEventArgs : EventArgs { @@ -1503,6 +1526,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use Resized instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ImfManagerResized { @@ -1606,6 +1630,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be internal /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public KeyboardResizedSignalType ResizedSignal() { @@ -1619,6 +1644,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use LanguageChangedEventArgs instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class ImfManagerLanguageChangedEventArgs : EventArgs { @@ -1642,6 +1668,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be deprecated /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use LanguageChanged instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ImfManagerLanguageChanged { @@ -1745,6 +1772,7 @@ namespace Tizen.NUI /// ///Please do not use! this will be internal /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public LanguageChangedSignalType LanguageChangedSignal() { diff --git a/src/Tizen.NUI/src/public/KeyFrames.cs b/src/Tizen.NUI/src/public/KeyFrames.cs index 60021a6..bdc158b 100755 --- a/src/Tizen.NUI/src/public/KeyFrames.cs +++ b/src/Tizen.NUI/src/public/KeyFrames.cs @@ -118,7 +118,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static KeyFrames DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/Layer.cs b/src/Tizen.NUI/src/public/Layer.cs index d4d784a..906d3c5 100755 --- a/src/Tizen.NUI/src/public/Layer.cs +++ b/src/Tizen.NUI/src/public/Layer.cs @@ -186,7 +186,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Layer DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/NUIApplication.cs b/src/Tizen.NUI/src/public/NUIApplication.cs index 38257b1..2075225 100755 --- a/src/Tizen.NUI/src/public/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/NUIApplication.cs @@ -250,7 +250,7 @@ namespace Tizen.NUI /// Gets the window instance. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public Window Window { diff --git a/src/Tizen.NUI/src/public/NUIConstants.cs b/src/Tizen.NUI/src/public/NUIConstants.cs index fa557b9..cf49fad 100755 --- a/src/Tizen.NUI/src/public/NUIConstants.cs +++ b/src/Tizen.NUI/src/public/NUIConstants.cs @@ -260,9 +260,10 @@ namespace Tizen.NUI /// DisableStyleChangeSignals = 1 << 6, /// - /// [EditorBrowsable(EditorBrowsableState.Never)] + /// Please do not use! This will be deprecated! /// /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] LastViewBehaviourFlag } @@ -2172,7 +2173,7 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public struct AnchorPoint { diff --git a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs index 1e81395..ce61032 100755 --- a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs +++ b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs @@ -28,7 +28,7 @@ namespace Tizen.NUI /// Represents an application that have UI screen. The NUIWidgetApplication class has a default stage. /// /// 4 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class NUIWidgetApplication : CoreApplication { diff --git a/src/Tizen.NUI/src/public/PaddingType.cs b/src/Tizen.NUI/src/public/PaddingType.cs index 90a0d83..43742b0 100755 --- a/src/Tizen.NUI/src/public/PaddingType.cs +++ b/src/Tizen.NUI/src/public/PaddingType.cs @@ -206,7 +206,7 @@ namespace Tizen.NUI /// Please DO NOT use! This will be deprecated! /// instead please use Start property. /// 3 - [Obsolete("Please DO NOT use! This will be Deprecated!. Please USE Tizen.NUI.PaddingType.Start instead!")] + [Obsolete("Please do not use! This will be Deprecated! Please use PaddingType.Start instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public float Left { @@ -242,7 +242,7 @@ namespace Tizen.NUI /// Please DO NOT use! This will be deprecated! /// instead please use Start property. /// 3 - [Obsolete("Please DO NOT use! This will be Deprecated!. Please USE Tizen.NUI.PaddingType.End instead!")] + [Obsolete("Please do not use! This will be deprecated! Please use PaddingType.End instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public float Right { diff --git a/src/Tizen.NUI/src/public/Path.cs b/src/Tizen.NUI/src/public/Path.cs index 1158291..c020e4e 100755 --- a/src/Tizen.NUI/src/public/Path.cs +++ b/src/Tizen.NUI/src/public/Path.cs @@ -99,7 +99,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Path DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/PixelData.cs b/src/Tizen.NUI/src/public/PixelData.cs old mode 100644 new mode 100755 index 28e35b5..33c58b5 --- a/src/Tizen.NUI/src/public/PixelData.cs +++ b/src/Tizen.NUI/src/public/PixelData.cs @@ -32,6 +32,7 @@ namespace Tizen.NUI /// So this is required to be removed. /// currently no use. will be added later /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class PixelData : BaseHandle { diff --git a/src/Tizen.NUI/src/public/Position.cs b/src/Tizen.NUI/src/public/Position.cs index 8a10d56..e51f657 100755 --- a/src/Tizen.NUI/src/public/Position.cs +++ b/src/Tizen.NUI/src/public/Position.cs @@ -933,7 +933,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointTop. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointTop")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Top instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointTop { @@ -951,7 +951,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointBottom. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointBottom")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Bottom instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointBottom { @@ -969,7 +969,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointLeft. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointLeft")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Left instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointLeft { @@ -987,7 +987,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointRight. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointRight")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Right instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointRight { @@ -1005,7 +1005,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointMiddle. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointMiddle")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Middle instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointMiddle { @@ -1023,7 +1023,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointTopLeft. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointTopLeft")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.TopLeft instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopLeft { @@ -1042,7 +1042,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointTopCenter. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointTopCenter")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.TopCenter instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopCenter { @@ -1061,7 +1061,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointTopRight. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointTopRight")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.TopRight instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopRight { @@ -1080,7 +1080,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointCenterLeft. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointCenterLeft")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.CenterLeft instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenterLeft { @@ -1099,7 +1099,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointCenter. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointCenter")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Center instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenter { @@ -1118,7 +1118,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointCenterRight. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointCenterRight")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.CenterRight instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenterRight { @@ -1137,7 +1137,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointBottomLeft. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointBottomLeft")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.BottomLeft instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomLeft { @@ -1156,7 +1156,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointBottomCenter. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointBottomCenter")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.BottomCenter instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomCenter { @@ -1175,7 +1175,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use PivotPointBottomRight. - [Obsolete("Please do not use! this will be deprecated, instead please use PivotPointBottomRight")] + [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.BottomRight instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomRight { diff --git a/src/Tizen.NUI/src/public/Property.cs b/src/Tizen.NUI/src/public/Property.cs index 299a1ea..881c1e5 100755 --- a/src/Tizen.NUI/src/public/Property.cs +++ b/src/Tizen.NUI/src/public/Property.cs @@ -1025,7 +1025,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public string GetKey(uint position) { @@ -1051,7 +1051,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(string key) { @@ -1094,7 +1094,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(string key, PropertyType type) { @@ -1108,7 +1108,7 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(int key, PropertyType type) { diff --git a/src/Tizen.NUI/src/public/StyleManager.cs b/src/Tizen.NUI/src/public/StyleManager.cs index 831160a..90faf98 100755 --- a/src/Tizen.NUI/src/public/StyleManager.cs +++ b/src/Tizen.NUI/src/public/StyleManager.cs @@ -67,6 +67,7 @@ namespace Tizen.NUI /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { diff --git a/src/Tizen.NUI/src/public/TTSPlayer.cs b/src/Tizen.NUI/src/public/TTSPlayer.cs index de82248..42ca3bb 100755 --- a/src/Tizen.NUI/src/public/TTSPlayer.cs +++ b/src/Tizen.NUI/src/public/TTSPlayer.cs @@ -63,6 +63,7 @@ namespace Tizen.NUI /// Please DO NOT use! This will be deprecated! /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { diff --git a/src/Tizen.NUI/src/public/Timer.cs b/src/Tizen.NUI/src/public/Timer.cs index 04f2177..bd9aaff 100644 --- a/src/Tizen.NUI/src/public/Timer.cs +++ b/src/Tizen.NUI/src/public/Timer.cs @@ -159,7 +159,7 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public static Timer DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/UIComponents/Popup.cs b/src/Tizen.NUI/src/public/UIComponents/Popup.cs index 8a73c0a..8e5002e 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Popup.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Popup.cs @@ -396,7 +396,7 @@ namespace Tizen.NUI.UIComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static Popup DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs index 286a799..0b88d5c 100755 --- a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs @@ -101,7 +101,7 @@ namespace Tizen.NUI.UIComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static PushButton DownCast(BaseHandle handle) { @@ -116,7 +116,7 @@ namespace Tizen.NUI.UIComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use UnselectedVisual. - [Obsolete("Please DO NOT use! This will be Deprecated!. Please implement by using Visual instead!")] + [Obsolete("Please do not use! This will be deprecated! Please use UnselectedVisual instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public string UnselectedIcon { @@ -132,7 +132,7 @@ namespace Tizen.NUI.UIComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use SelectedVisual. - [Obsolete("Please do not use! this will be deprecated, instead please use SelectedVisual.")] + [Obsolete("Please do not use! This will be deprecated! Please use SelectedVisual instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public string SelectedIcon { @@ -141,11 +141,12 @@ namespace Tizen.NUI.UIComponents SetProperty(PushButton.Property.SELECTED_ICON, new Tizen.NUI.PropertyValue(value)); } } + /// /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please DO NOT use! This will be deprecated, please implement by using Visual instead!")] + [Obsolete("Please do not use! This will be deprecated! Please use LabelRelativeAlignment instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public IconAlignmentType IconAlignment { @@ -204,12 +205,13 @@ namespace Tizen.NUI.UIComponents SetProperty(PushButton.Property.ICON_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString)); } } + /// /// Please do not use! this will be deprecated /// /// 3 /// no use - [Obsolete("Please DO NOT use! This will be deprecated")] + [Obsolete("Please do not use! This will be deprecated! Please use Button.LabelPadding instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new Vector4 LabelPadding { @@ -230,7 +232,7 @@ namespace Tizen.NUI.UIComponents /// /// 3 /// no use - [Obsolete("Please DO NOT use! This will be deprecated")] + [Obsolete("Please do not use! This will be deprecated! Please use ForegroundVisualPadding instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public Vector4 IconPadding { @@ -251,7 +253,7 @@ namespace Tizen.NUI.UIComponents /// /// 3 /// no use - [Obsolete("Please DO NOT use! This will be deprecated!")] + [Obsolete("Please do not use! This will be deprecated! Please use Button.Align instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public enum IconAlignmentType { diff --git a/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs b/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs index fb03517..4d7fa5c 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs @@ -247,7 +247,7 @@ namespace Tizen.NUI.UIComponents /// 3 /// Please do not use! this will be deprecated! /// Instead please use as keyword. - [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")] + [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public new static ScrollBar DownCast(BaseHandle handle) { diff --git a/src/Tizen.NUI/src/public/VisualBase.cs b/src/Tizen.NUI/src/public/VisualBase.cs index a6d9b16..3182820 100755 --- a/src/Tizen.NUI/src/public/VisualBase.cs +++ b/src/Tizen.NUI/src/public/VisualBase.cs @@ -204,7 +204,7 @@ namespace Tizen.NUI /// Creates the property map representing this visual. /// /// 3 - [Obsolete("Please be caution! this will be readonly.")] + [Obsolete("Please be caution! This will be readonly!")] [EditorBrowsable(EditorBrowsableState.Never)] public PropertyMap Creation { diff --git a/src/Tizen.NUI/src/public/VisualFactory.cs b/src/Tizen.NUI/src/public/VisualFactory.cs old mode 100644 new mode 100755 index b990019..e965dd6 --- a/src/Tizen.NUI/src/public/VisualFactory.cs +++ b/src/Tizen.NUI/src/public/VisualFactory.cs @@ -47,6 +47,7 @@ namespace Tizen.NUI /// Please DO NOT use! This will be deprecated! /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { @@ -83,6 +84,10 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated, please use VisualFactory.Instance instead. /// /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use VisualFactory.Instance instead! " + + "Like: " + + "VisualFactory visualFactory = VisualFactory.Instance; " + + "visualFactory.CreateVisual(visualMap);")] [EditorBrowsable(EditorBrowsableState.Never)] public static VisualFactory Get() { diff --git a/src/Tizen.NUI/src/public/VisualMaps.cs b/src/Tizen.NUI/src/public/VisualMaps.cs index 6911a1b..9599db7 100755 --- a/src/Tizen.NUI/src/public/VisualMaps.cs +++ b/src/Tizen.NUI/src/public/VisualMaps.cs @@ -14,7 +14,6 @@ * limitations under the License. * */ - using System.Text; using System.Collections.Generic; using Tizen.NUI.BaseComponents; diff --git a/src/Tizen.NUI/src/public/Widget.cs b/src/Tizen.NUI/src/public/Widget.cs old mode 100644 new mode 100755 index 2cae3aa..4752cb7 --- a/src/Tizen.NUI/src/public/Widget.cs +++ b/src/Tizen.NUI/src/public/Widget.cs @@ -25,6 +25,7 @@ namespace Tizen.NUI /// /// This is an experimental feature. We do recommend not to use it. /// 4 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] public class Widget : BaseHandle { diff --git a/src/Tizen.NUI/src/public/Window.cs b/src/Tizen.NUI/src/public/Window.cs old mode 100644 new mode 100755 index caaf6ec..e2373f3 --- a/src/Tizen.NUI/src/public/Window.cs +++ b/src/Tizen.NUI/src/public/Window.cs @@ -64,6 +64,7 @@ namespace Tizen.NUI /// Dispose() method in Singletone classes (ex: FocusManager, StyleManager, VisualFactory, IMFManager, TtsPlayer, Window) is not required. /// Because it is Sigletone, so it is alive for one thread until the NUI is terminated, so it never be disposed. /// 3 + [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { @@ -1572,6 +1573,10 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated /// /// 3 + [Obsolete("Please do not use! This will be deprecated! Please use FocusChangedEventArgs instead! " + + "Like: " + + "Window.Instance.FocusChanged = OnFocusChanged; " + + "private void OnFocusChanged(object source, Window.FocusChangedEventArgs args) {...}")] [EditorBrowsable(EditorBrowsableState.Never)] public class WindowFocusChangedEventArgs : EventArgs { @@ -1597,7 +1602,10 @@ namespace Tizen.NUI /// 3 /// Please do not use! this will be deprecated! /// Instead please use FocusChanged. - [Obsolete("Please do not use! this will be deprecated, instead please use FocusChanged")] + [Obsolete("Please do not use! This will be deprecated! Please use FocusChanged instead! " + + "Like: " + + "Window.Instance.FocusChanged = OnFocusChanged; " + + "private void OnFocusChanged(object source, Window.FocusChangedEventArgs args) {...}")] [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler WindowFocusChanged { -- 2.7.4