Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
/// The editor window class.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// The editor window class.
/// </summary>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12. Use NUIApplication.GetDefaultWindow() to get window in NUI application")]
public class EditorWindow : Window
{
internal static IntPtr _handle = IntPtr.Zero;
public class EditorWindow : Window
{
internal static IntPtr _handle = IntPtr.Zero;
/// <param name="parent">Parent EvasObject.</param>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> 4 </since_tizen>
/// <param name="parent">Parent EvasObject.</param>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return _handle;
protected override IntPtr CreateHandle(EvasObject parent)
{
return _handle;
/// </summary>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> 4 </since_tizen>
/// </summary>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public IntPtr GetHandle()
{
return _handle;
public IntPtr GetHandle()
{
return _handle;
/// <exception cref="UnauthorizedAccessException">This exception can be due to permission denied.</exception>
/// <exception cref="InvalidOperationException">The IME main loop has not started yet.</exception>
/// <since_tizen> 4 </since_tizen>
/// <exception cref="UnauthorizedAccessException">This exception can be due to permission denied.</exception>
/// <exception cref="InvalidOperationException">The IME main loop has not started yet.</exception>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public static void SetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight)
{
ErrorCode error = ImeSetSize(portraitWidth, portraitHeight, landscapeWidth, landscapeHeight);
public static void SetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight)
{
ErrorCode error = ImeSetSize(portraitWidth, portraitHeight, landscapeWidth, landscapeHeight);
/// 2) Operation failed.
/// </exception>
/// <since_tizen> 4 </since_tizen>
/// 2) Operation failed.
/// </exception>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public static EditorWindow GetMainWindow()
{
EditorWindow._handle = ImeGetMainWindow();
public static EditorWindow GetMainWindow()
{
EditorWindow._handle = ImeGetMainWindow();