X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FToolbarItem.cs;h=6e71c9882d8b461b3cfbaae48e3e6d3de65aef39;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=072baab7e55d6ae6f73b77af4628f4abae0a016b;hpb=c5e41da4aa7a32323f3520fa5a51e97a515e34b4;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp/ElmSharp/ToolbarItem.cs b/src/ElmSharp/ElmSharp/ToolbarItem.cs
old mode 100755
new mode 100644
index 072baab..6e71c98
--- a/src/ElmSharp/ElmSharp/ToolbarItem.cs
+++ b/src/ElmSharp/ElmSharp/ToolbarItem.cs
@@ -19,21 +19,32 @@ using System;
namespace ElmSharp
{
///
- /// The ToolbarItem is a item of Toolbar.
+ /// The ToolbarItem is an item of the toolbar.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public class ToolbarItem : ItemObject
{
string _icon;
string _text;
+
internal ToolbarItem(string text, string icon) : base(IntPtr.Zero)
{
_text = text;
_icon = icon;
}
+ internal ToolbarItem(string text, string icon, EvasObject parent) : base(IntPtr.Zero, parent)
+ {
+ _text = text;
+ _icon = icon;
+ }
+
///
/// Sets or gets the icon path of the item.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public string Icon
{
get
@@ -50,6 +61,8 @@ namespace ElmSharp
///
/// Sets or gets the text string of the item.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public string Text
{
get
@@ -66,6 +79,7 @@ namespace ElmSharp
///
/// Sets or gets the enable of the item.
///
+ /// preview
[Obsolete("Enabled is obsolete as of version v1.1.0-beta-023. Please use IsEnabled instead.")]
public bool Enabled
{
@@ -82,7 +96,9 @@ namespace ElmSharp
///
/// Sets or gets whether displaying the item as a separator.
///
- /// Items aren't set as a separator by default. If set as a separator it displays a separator theme, so it won't display icons or labels.
+ /// Items aren't set as a separator by default. If set as a separator, it displays a separator theme, so it won't display the icons or labels.
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public bool IsSeparator
{
get
@@ -98,6 +114,8 @@ namespace ElmSharp
///
/// Sets or gets whether the item is selected.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public bool IsSelected
{
get
@@ -113,16 +131,22 @@ namespace ElmSharp
///
/// Selected will be triggered when the item is selected.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
///
- /// LongPressed will be triggered when the item is pressed long time.
+ /// LongPressed will be triggered when the item is pressed for a long time.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LongPressed;
///
/// Clicked will be triggered when the item is clicked.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
internal void SendSelected()