From: dongsug.song Date: Tue, 24 Oct 2017 07:36:29 +0000 (+0900) Subject: [NUI] remove deprecated APIs X-Git-Tag: preview1-00341^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F157326%2F5;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] remove deprecated APIs Change-Id: I1684dd0164e3385b27a8ee6286c6617c38a3c39f Signed-off-by: dongsug.song --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index 19336cd..9b03623 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -14,12 +14,12 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI.BaseComponents { - using System; - using System.Runtime.InteropServices; - using System.ComponentModel; /// /// ImageView is a class for displaying an image resource.
@@ -191,9 +191,12 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to imageView handle. /// - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static ImageView DownCast(BaseHandle handle) { ImageView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ImageView; diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs index d0dd450..c1de3a2 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; namespace Tizen.NUI.BaseComponents { @@ -352,10 +353,13 @@ namespace Tizen.NUI.BaseComponents if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to tabelView handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static TableView DownCast(BaseHandle handle) { TableView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TableView; diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index 0f69905..3fe86a3 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -17,13 +17,14 @@ extern alias TizenSystemSettings; using TizenSystemSettings.Tizen.System; -namespace Tizen.NUI.BaseComponents -{ - using System; - using System.Runtime.InteropServices; - using System.Globalization; +using System; +using System.Runtime.InteropServices; +using System.Globalization; +using System.ComponentModel; +namespace Tizen.NUI.BaseComponents +{ /// /// A control which provides a multi-line editable text editor. /// @@ -331,12 +332,15 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to textEditor handle. /// /// /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static TextEditor DownCast(BaseHandle handle) { TextEditor ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextEditor; diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index d9b7128..5783434 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -16,12 +16,14 @@ */ extern alias TizenSystemSettings; using TizenSystemSettings.Tizen.System; + +using System; +using System.Runtime.InteropServices; +using System.Globalization; +using System.ComponentModel; + namespace Tizen.NUI.BaseComponents { - - using System; - using System.Runtime.InteropServices; - using System.Globalization; /// /// A control which provides a single line editable text field. /// @@ -314,10 +316,13 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to textField handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static TextField DownCast(BaseHandle handle) { TextField ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextField; diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index a166155..33a22a1 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -19,6 +19,7 @@ extern alias TizenSystemSettings; using TizenSystemSettings.Tizen.System; using System; using System.Globalization; +using System.ComponentModel; namespace Tizen.NUI.BaseComponents { @@ -136,12 +137,15 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to textLabel handle /// /// /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static TextLabel DownCast(BaseHandle handle) { TextLabel ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextLabel; diff --git a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs index 43e1d64..6f85425 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs @@ -14,13 +14,12 @@ * limitations under the License. * */ +using System; +using System.ComponentModel; +using System.Runtime.InteropServices; namespace Tizen.NUI.BaseComponents { - - using System; - using System.Runtime.InteropServices; - /// /// VideoView is a control for video playback and display. /// @@ -187,11 +186,14 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to videoView handle. /// /// /// - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static VideoView DownCast(BaseHandle handle) { VideoView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as VideoView; diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 36f88a7..b523aa1 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -14,13 +14,12 @@ * limitations under the License. * */ +using System; +using System.ComponentModel; +using System.Runtime.InteropServices; namespace Tizen.NUI.BaseComponents { - - using System; - using System.Runtime.InteropServices; - /// /// View is the base class for all views. /// @@ -2181,10 +2180,12 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated. /// - /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated! + /// Instead please use PositionUsesPivotPoint. + [Obsolete("Please do not use! this will be deprecated, instead please use PositionUsesPivotPoint")] + [EditorBrowsable(EditorBrowsableState.Never)] public bool PositionUsesAnchorPoint { get @@ -2265,7 +2266,10 @@ namespace Tizen.NUI.BaseComponents /// /// Deriving classes stipulate the natural size and by default a view has a zero natural size. /// + /// /// Please do not use! this will be deprecated! + /// Instead please use NaturalSize2D. [Obsolete("Please do not use! this will be deprecated, please use NaturalSize2D instead")] + [EditorBrowsable(EditorBrowsableState.Never)] public Vector3 NaturalSize { get @@ -4168,7 +4172,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 do not use! this will be deprecated! + /// Instead please use TouchEvent. + [Obsolete("Please do not use! this will be deprecated, instead please use TouchEvent.")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType Touched { add @@ -4198,7 +4205,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 do not use! this will be deprecated! + /// Instead please use HoverEvent. + [Obsolete("Please do not use! this will be deprecated, instead please use HoverEvent.")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType Hovered { add @@ -4225,10 +4235,13 @@ namespace Tizen.NUI.BaseComponents } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandlerWithReturnType WheelMoved { add @@ -4258,7 +4271,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 do not use! this will be deprecated! + /// Instead please use PivotPoint. + [Obsolete("Please do not use! this will be deprecated, instead please use PivotPoint")] + [EditorBrowsable(EditorBrowsableState.Never)] public Position AnchorPoint { get @@ -4296,7 +4312,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 do not use! this will be deprecated! + /// Instead please use AddedToWindow. + [Obsolete("Please do not use! this will be deprecated, instead please use AddedToWindow")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OnWindowEvent { add @@ -4325,7 +4344,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 do not use! this will be deprecated! + /// Instead please use RemovedFromWindow. + [Obsolete("Please do not use! this will be deprecated, instead please use RemovedFromWindow")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OffWindowEvent { add @@ -4354,7 +4376,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 do not use! this will be deprecated! + /// Instead please use Relayout. + [Obsolete("Please do not use! this will be deprecated, instead please use Relayout")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler OnRelayoutEvent { add diff --git a/src/Tizen.NUI/src/public/FocusManager.cs b/src/Tizen.NUI/src/public/FocusManager.cs index 996a312..e114f78 100755 --- a/src/Tizen.NUI/src/public/FocusManager.cs +++ b/src/Tizen.NUI/src/public/FocusManager.cs @@ -15,15 +15,13 @@ * */ +using System; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; +using System.ComponentModel; namespace Tizen.NUI { - - using System; - using System.Runtime.InteropServices; - using Tizen.NUI.BaseComponents; - using System.ComponentModel; - /// /// Provides the functionality of handling keyboard navigation and maintaining the two-dimensional keyboard focus chain.
/// It provides functionality of setting the focus and moving the focus in four directions( i.e., left, right, up, and down).
@@ -47,14 +45,19 @@ namespace Tizen.NUI /// /// To make the FocusManager instance be disposed. /// + /// 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) { - if(disposed) + if (disposed) { return; } - if(type == DisposeTypes.Explicit) + if (type == DisposeTypes.Explicit) { //Called by User //Release your own managed resources here. @@ -505,7 +508,7 @@ namespace Tizen.NUI /// 3 public bool SetCurrentFocusView(View view) { - if(view == null) + if (view == null) { throw new ArgumentNullException("the target view should not be null"); } @@ -774,7 +777,9 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated ///
/// 3 - //Please do not use! this will be deprecated + /// Please do not use! this will be deprecated. + /// Instead please use FocusedViewActivatedEventArgs. + [Obsolete("Please DO NOT use! This will be deprecated, instead please USE Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs")] [EditorBrowsable(EditorBrowsableState.Never)] public class FocusedViewEnterKeyEventArgs : EventArgs { @@ -805,7 +810,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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!")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler FocusedViewEnterKeyPressed { add @@ -827,8 +835,13 @@ namespace Tizen.NUI } } } - - [Obsolete("Please do not use! this will be deprecated")] + /// + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] private void OnFocusedViewEnterKey2(IntPtr view) { FocusedViewActivatedEventArgs e = new FocusedViewActivatedEventArgs(); diff --git a/src/Tizen.NUI/src/public/ImfManager.cs b/src/Tizen.NUI/src/public/ImfManager.cs index 40b908b..e95c785 100755 --- a/src/Tizen.NUI/src/public/ImfManager.cs +++ b/src/Tizen.NUI/src/public/ImfManager.cs @@ -14,6 +14,7 @@ * limitations under the License. * */ + using System; using System.Runtime.InteropServices; using System.ComponentModel; @@ -42,6 +43,11 @@ namespace Tizen.NUI /// /// Dispose Type /// 3 + /// 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) { if (disposed) @@ -1276,8 +1282,9 @@ namespace Tizen.NUI /// /// ImfManager event received signal. /// - //Please do not use! this will be internal - [EditorBrowsable(EditorBrowsableState.Never)] + //Please do not use! this will be internal + [Obsolete("Please DO NOT use! This will be internal method!")] + [EditorBrowsable(EditorBrowsableState.Never)] public ImfEventSignalType EventReceivedSignal() { ImfEventSignalType ret = new ImfEventSignalType(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false); diff --git a/src/Tizen.NUI/src/public/KeyFrames.cs b/src/Tizen.NUI/src/public/KeyFrames.cs index a9d2a30..2095a3c 100755 --- a/src/Tizen.NUI/src/public/KeyFrames.cs +++ b/src/Tizen.NUI/src/public/KeyFrames.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; namespace Tizen.NUI { @@ -111,10 +112,13 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to keyFrame handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public static KeyFrames DownCast(BaseHandle handle) { KeyFrames ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as KeyFrames; diff --git a/src/Tizen.NUI/src/public/Layer.cs b/src/Tizen.NUI/src/public/Layer.cs index 659aac0..78f719c 100755 --- a/src/Tizen.NUI/src/public/Layer.cs +++ b/src/Tizen.NUI/src/public/Layer.cs @@ -14,11 +14,12 @@ * limitations under the License. * */ +using System; +using Tizen.NUI.BaseComponents; +using System.ComponentModel; namespace Tizen.NUI { - using System; - using Tizen.NUI.BaseComponents; /// /// Layers provide a mechanism for overlaying groups of actors on top of each other. @@ -179,10 +180,13 @@ namespace Tizen.NUI /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Downcasts a handle to layer handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Layer DownCast(BaseHandle handle) { Layer ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Layer; diff --git a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs index d2f4652..5e93191 100755 --- a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs +++ b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; using Tizen.Applications; using Tizen.Applications.CoreBackend; using Tizen.NUI; @@ -26,6 +27,8 @@ namespace Tizen.NUI /// /// Represents an application that have UI screen. The NUIWidgetApplication class has a default stage. /// + [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 0e6ac1a..6f72d20 100755 --- a/src/Tizen.NUI/src/public/PaddingType.cs +++ b/src/Tizen.NUI/src/public/PaddingType.cs @@ -17,8 +17,8 @@ namespace Tizen.NUI { - using System; + using System.ComponentModel; /// /// The gesture state. @@ -200,7 +200,10 @@ namespace Tizen.NUI /// /// The Left value. /// - [Obsolete("Please do not use! this will be removed. please use Start instead")] + /// Please DO NOT use! This will be deprecated! + /// instead please use Start property. + [Obsolete("Please DO NOT use! This will be Deprecated!. Please USE Tizen.NUI.PaddingType.Start instead!")] + [EditorBrowsable(EditorBrowsableState.Never)] public float Left { set @@ -231,7 +234,10 @@ namespace Tizen.NUI /// /// The Right value. /// - [Obsolete("Please do not use! this will be removed. please use End instead")] + /// Please DO NOT use! This will be deprecated! + /// instead please use Start property. + [Obsolete("Please DO NOT use! This will be Deprecated!. Please USE Tizen.NUI.PaddingType.End instead!")] + [EditorBrowsable(EditorBrowsableState.Never)] public float Right { set diff --git a/src/Tizen.NUI/src/public/Path.cs b/src/Tizen.NUI/src/public/Path.cs index b70ad62..ebac019 100755 --- a/src/Tizen.NUI/src/public/Path.cs +++ b/src/Tizen.NUI/src/public/Path.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; namespace Tizen.NUI { @@ -92,10 +93,13 @@ namespace Tizen.NUI } /// - /// Please do not use! this will be deprecated + /// Downcasts a handle to Path handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Path DownCast(BaseHandle handle) { Path ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Path; diff --git a/src/Tizen.NUI/src/public/PixelData.cs b/src/Tizen.NUI/src/public/PixelData.cs index 3ee1998..a791472 100755 --- a/src/Tizen.NUI/src/public/PixelData.cs +++ b/src/Tizen.NUI/src/public/PixelData.cs @@ -15,6 +15,9 @@ * */ +using System; +using System.ComponentModel; + namespace Tizen.NUI { /// @@ -23,6 +26,13 @@ namespace Tizen.NUI /// The buffer memory must NOT be released outside of this class, instead, /// the PixelData object will release it automatically when the reference count falls to zero. /// + /// Please DO NOT use! This will be deprecated! + /// PixelData class requires externally allocated pixel memory buffer and this buffer loses its ownershop by native DALi. + /// And this would make some problem, because dotnet runtime would change the address of memory allocated. + /// So this is required to be removed. + /// currently no use. will be added later + [Obsolete("Please DO NOT use! This will be Deprecated!")] + [EditorBrowsable(EditorBrowsableState.Never)] public class PixelData : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; diff --git a/src/Tizen.NUI/src/public/Position.cs b/src/Tizen.NUI/src/public/Position.cs index dc91dc6..ccab8b9 100755 --- a/src/Tizen.NUI/src/public/Position.cs +++ b/src/Tizen.NUI/src/public/Position.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; namespace Tizen.NUI { @@ -929,7 +930,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointTop { get @@ -944,7 +948,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointBottom { get @@ -959,7 +966,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointLeft { get @@ -974,7 +984,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointRight { get @@ -989,7 +1002,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static float AnchorPointMiddle { get @@ -1004,7 +1020,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopLeft { get @@ -1020,7 +1039,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopCenter { get @@ -1036,7 +1058,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointTopRight { get @@ -1052,7 +1077,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenterLeft { get @@ -1068,7 +1096,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenter { get @@ -1084,7 +1115,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointCenterRight { get @@ -1100,7 +1134,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomLeft { get @@ -1116,7 +1153,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomCenter { get @@ -1132,7 +1172,10 @@ namespace Tizen.NUI /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Position AnchorPointBottomRight { get diff --git a/src/Tizen.NUI/src/public/Property.cs b/src/Tizen.NUI/src/public/Property.cs index 2bdc339..9e69600 100755 --- a/src/Tizen.NUI/src/public/Property.cs +++ b/src/Tizen.NUI/src/public/Property.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; namespace Tizen.NUI { @@ -1018,10 +1019,11 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated. /// /// 3 [Obsolete("Please do not use! this will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public string GetKey(uint position) { string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position); @@ -1043,10 +1045,11 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated /// /// 3 [Obsolete("Please do not use! this will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(string key) { global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key); @@ -1085,10 +1088,11 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated. /// /// 3 [Obsolete("Please do not use! this will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(string key, PropertyType type) { global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type); @@ -1098,10 +1102,11 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + /// Please do not use! this will be deprecated /// /// 3 [Obsolete("Please do not use! this will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public PropertyValue Find(int key, PropertyType type) { global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type); diff --git a/src/Tizen.NUI/src/public/StyleManager.cs b/src/Tizen.NUI/src/public/StyleManager.cs index 51d648d..5661e89 100755 --- a/src/Tizen.NUI/src/public/StyleManager.cs +++ b/src/Tizen.NUI/src/public/StyleManager.cs @@ -15,13 +15,13 @@ * */ +using System; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; +using System.ComponentModel; + namespace Tizen.NUI { - - using System; - using System.Runtime.InteropServices; - using Tizen.NUI.BaseComponents; - /// /// The StyleManager informs applications of the system theme change, and supports application theme change at runtime.
/// Applies various styles to controls using the properties system.
@@ -46,14 +46,19 @@ namespace Tizen.NUI /// /// Dispose. /// + /// 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) { - if(disposed) + if (disposed) { return; } - if(type == DisposeTypes.Explicit) + if (type == DisposeTypes.Explicit) { //Called by User //Release your own managed resources here. diff --git a/src/Tizen.NUI/src/public/TTSPlayer.cs b/src/Tizen.NUI/src/public/TTSPlayer.cs index 4c701e3..79c4ca5 100755 --- a/src/Tizen.NUI/src/public/TTSPlayer.cs +++ b/src/Tizen.NUI/src/public/TTSPlayer.cs @@ -15,11 +15,12 @@ * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; + namespace Tizen.NUI { - using System; - using System.Runtime.InteropServices; - /// /// The Text-to-speech (TTS) player. /// @@ -42,6 +43,11 @@ namespace Tizen.NUI ///
/// The dispose type /// 3 + /// 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) { if (disposed) diff --git a/src/Tizen.NUI/src/public/Timer.cs b/src/Tizen.NUI/src/public/Timer.cs index efe746d..e9985d9 100755 --- a/src/Tizen.NUI/src/public/Timer.cs +++ b/src/Tizen.NUI/src/public/Timer.cs @@ -14,13 +14,12 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI { - - using System; - using System.Runtime.InteropServices; - /// /// Mechanism to issue simple periodic or one-shot events.
/// Timer is provided for application developers to be able to issue @@ -153,10 +152,13 @@ namespace Tizen.NUI } /// - /// [Obsolete("Please do not use! this will be deprecated")] + ///// Downcasts a handle to Timer handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public static Timer DownCast(BaseHandle handle) { Timer ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Timer; diff --git a/src/Tizen.NUI/src/public/UIComponents/Popup.cs b/src/Tizen.NUI/src/public/UIComponents/Popup.cs index 4eba768..d63dce4 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Popup.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Popup.cs @@ -14,14 +14,13 @@ * limitations under the License. * */ +using System; +using System.ComponentModel; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; namespace Tizen.NUI.UIComponents { - - using System; - using System.Runtime.InteropServices; - using Tizen.NUI.BaseComponents; - /// /// The Popup widget provides a configurable popup dialog with a built-in layout of three main fields. /// @@ -386,10 +385,13 @@ namespace Tizen.NUI.UIComponents } /// - /// Please do not use! this will be deprecated + /// Downcasts a handle to popup handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static Popup DownCast(BaseHandle handle) { Popup ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Popup; diff --git a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs index 00dc0b2..7598d7c 100755 --- a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs @@ -16,6 +16,7 @@ */ using System; +using System.ComponentModel; using Tizen.NUI.BaseComponents; namespace Tizen.NUI.UIComponents @@ -93,10 +94,13 @@ namespace Tizen.NUI.UIComponents } /// - /// Please do not use! this will be deprecated + /// Downcasts a handle to pushButton handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static PushButton DownCast(BaseHandle handle) { PushButton ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as PushButton; @@ -105,10 +109,13 @@ namespace Tizen.NUI.UIComponents } /// - /// Please do not use! this will be deprecated + /// UnselectedIcon. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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!")] + [EditorBrowsable(EditorBrowsableState.Never)] public string UnselectedIcon { set @@ -118,10 +125,13 @@ namespace Tizen.NUI.UIComponents } /// - /// Please do not use! this will be deprecated + /// SelectedIcon. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public string SelectedIcon { set @@ -133,7 +143,8 @@ namespace Tizen.NUI.UIComponents /// 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 implement by using Visual instead!")] + [EditorBrowsable(EditorBrowsableState.Never)] public IconAlignmentType IconAlignment { get @@ -195,7 +206,9 @@ namespace Tizen.NUI.UIComponents /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// no use + [Obsolete("Please DO NOT use! This will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public new Vector4 LabelPadding { get @@ -214,7 +227,9 @@ namespace Tizen.NUI.UIComponents /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// no use + [Obsolete("Please DO NOT use! This will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public Vector4 IconPadding { get @@ -233,7 +248,9 @@ namespace Tizen.NUI.UIComponents /// Please do not use! this will be deprecated /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// no use + [Obsolete("Please DO NOT use! This will be deprecated!")] + [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 e02767e..d8be462 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs @@ -14,14 +14,13 @@ * limitations under the License. * */ +using System; +using System.ComponentModel; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; namespace Tizen.NUI.UIComponents { - - using System; - using System.Runtime.InteropServices; - using Tizen.NUI.BaseComponents; - /// /// The ScrollBar is a UI component that can be linked to the scrollable objects /// indicating the current scroll position of the scrollable object.
@@ -239,10 +238,13 @@ namespace Tizen.NUI.UIComponents } /// - /// Please do not use! this will be deprecated + /// Downcasts a handle to scrollBar handle. /// /// 3 - [Obsolete("Please do not use! this will be deprecated")] + /// 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.")] + [EditorBrowsable(EditorBrowsableState.Never)] public new static ScrollBar DownCast(BaseHandle handle) { ScrollBar ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ScrollBar; diff --git a/src/Tizen.NUI/src/public/VisualFactory.cs b/src/Tizen.NUI/src/public/VisualFactory.cs index af717a6..f5c5f0d 100755 --- a/src/Tizen.NUI/src/public/VisualFactory.cs +++ b/src/Tizen.NUI/src/public/VisualFactory.cs @@ -14,6 +14,7 @@ * limitations under the License. * */ + using System; using System.ComponentModel; @@ -42,14 +43,19 @@ namespace Tizen.NUI ///
/// The dispose type /// 3 + /// 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) { - if(disposed) + if (disposed) { return; } - if(type == DisposeTypes.Explicit) + if (type == DisposeTypes.Explicit) { //Called by User //Release your own managed resources here. diff --git a/src/Tizen.NUI/src/public/Widget.cs b/src/Tizen.NUI/src/public/Widget.cs index 930a46f..4a5ba36 100755 --- a/src/Tizen.NUI/src/public/Widget.cs +++ b/src/Tizen.NUI/src/public/Widget.cs @@ -15,6 +15,7 @@ * */ using System; +using System.ComponentModel; using System.Runtime.InteropServices; using Tizen.Applications; @@ -23,6 +24,8 @@ namespace Tizen.NUI /// /// Widget object should be created by WidgetApplication. /// + [Obsolete("Please do not use! this will be deprecated")] + [EditorBrowsable(EditorBrowsableState.Never)] public class Widget : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; diff --git a/src/Tizen.NUI/src/public/Window.cs b/src/Tizen.NUI/src/public/Window.cs index 233e1e2..e4ba1b6 100755 --- a/src/Tizen.NUI/src/public/Window.cs +++ b/src/Tizen.NUI/src/public/Window.cs @@ -14,15 +14,13 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; +using System.ComponentModel; namespace Tizen.NUI { - - using System; - using System.Runtime.InteropServices; - using Tizen.NUI.BaseComponents; - using System.ComponentModel; - /// /// The window class is used internally for drawing.
/// The window has an orientation and indicator properties.
@@ -51,6 +49,11 @@ namespace Tizen.NUI /// /// To make the window instance be disposed. /// + /// 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) { if (disposed) @@ -1555,7 +1558,10 @@ namespace Tizen.NUI /// Please do not use! this will be deprecated. Please use 'FocusChanged' event instead. ///
/// 3 - [Obsolete("Please do not use! this will be deprecated. Please use 'FocusChanged' event instead")] + /// 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")] + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler WindowFocusChanged { add