[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Popup.cs
index f8726bf..118318c 100644 (file)
@@ -23,6 +23,7 @@ namespace ElmSharp
     /// Enumeration for the popup orientation types.
     /// </summary>
     /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public enum PopupOrientation
     {
         /// <summary>
@@ -68,6 +69,7 @@ namespace ElmSharp
     /// In addition to content area, there are two optional sections, namely title area and action area.
     /// </summary>
     /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class Popup : Layout
     {
         HashSet<PopupItem> _children = new HashSet<PopupItem>();
@@ -81,6 +83,7 @@ namespace ElmSharp
         /// </summary>
         /// <param name="parent">The EvasObject to which the new popup will be attached as a child.</param>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public Popup(EvasObject parent) : base(parent)
         {
             _dismissed = new SmartEvent(this, "dismissed");
@@ -112,30 +115,35 @@ namespace ElmSharp
         /// Dismissed will be triggered when the popup has been dismissed.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler Dismissed;
 
         /// <summary>
         /// OutsideClicked will be triggered when users taps on the outside of Popup.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler OutsideClicked;
 
         /// <summary>
         /// OutsideClicked will be triggered when the popup is closed as a result of timeout.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler TimedOut;
 
         /// <summary>
         /// OutsideClicked will be triggered when the popup transition has finished in showing.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public event EventHandler ShowAnimationFinished;
 
         /// <summary>
         /// Sets or gets the position in which the popup will appear in its parent.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public PopupOrientation Orientation
         {
             get
@@ -155,6 +163,7 @@ namespace ElmSharp
         /// Popup need to wrap the content text, so not allowing WrapType.None.
         /// </remarks>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public WrapType ContentTextWrapType
         {
             get
@@ -178,6 +187,7 @@ namespace ElmSharp
         /// the timer will be started with this value, canceling any running timer.
         /// </remarks>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public double Timeout
         {
             get
@@ -197,6 +207,7 @@ namespace ElmSharp
         /// The visible region of the popup is surrounded by a translucent region called the Blocked event area.
         /// </remarks>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public bool AllowEvents
         {
             get
@@ -213,6 +224,7 @@ namespace ElmSharp
         /// Sets or gets the AlignmentX in which the popup will appear in its parent.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override double AlignmentX
         {
             get
@@ -229,6 +241,7 @@ namespace ElmSharp
         /// Sets or gets the AlignmentY in which the popup will appear in its parent.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override double AlignmentY
         {
             get
@@ -245,6 +258,7 @@ namespace ElmSharp
         /// Gets the opacity value of the popup.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override int Opacity
         {
             get
@@ -264,6 +278,7 @@ namespace ElmSharp
         /// <param name="label"></param>
         /// <returns>The new PopupItem which contains a label.</returns>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public PopupItem Append(string label)
         {
             return Append(label, null);
@@ -276,6 +291,7 @@ namespace ElmSharp
         /// <param name="icon">The icon, which will be added into a new PopupItem. </param>
         /// <returns>The new PopupItem, which contains the label and icon.</returns>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public PopupItem Append(string label, EvasObject icon)
         {
             PopupItem item = new PopupItem(label, icon, this);
@@ -289,6 +305,7 @@ namespace ElmSharp
         /// When the Popup is dismissed, the "dismissed" signal will be emitted.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public void Dismiss()
         {
             Interop.Elementary.elm_popup_dismiss(Handle);
@@ -300,6 +317,7 @@ namespace ElmSharp
         /// <param name="parent">Parent EvasObject.</param>
         /// <returns>Handle IntPtr.</returns>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             return Interop.Elementary.elm_popup_add(parent.Handle);