Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NUI] Add WidgetComponent for ComponentBasedApplication #6396

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

tscholb
Copy link
Contributor

@tscholb tscholb commented Oct 8, 2024

Adds implementations and samples for WidgetComponent use

For more information, please refer to the links below

Description of Change

API Changes

  • ACR:

@TizenAPI-Bot
Copy link
Collaborator

Internal API Changed

Added: 10, Removed: 0, Changed: 0

Added

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.NUIWidgetComponent

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.Window Tizen.NUI.NUIWidgetComponent::Window()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.NUIWidgetComponent::OnCreate(System.Int32,System.Int32)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::.ctor()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnDestroy(System.Boolean)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnPause()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnResume()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnStart(System.Boolean)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnStop()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.Applications.ComponentBased.Common.IWindowProxy Tizen.NUI.NUIWidgetComponent::CreateWindowInfo(System.Int32,System.Int32)

Copy link
Contributor

@hinohie hinohie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@taehyub taehyub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

Copy link
Contributor

@Seoyeon2Kim Seoyeon2Kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall Looks good because WidgeView is already specific for the owner ;)
And adding samples is also great/

@@ -0,0 +1,94 @@
/*
* Copyright(c) 2021 Samsung Electronics Co., Ltd.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor

Suggested change
* Copyright(c) 2021 Samsung Electronics Co., Ltd.
* Copyright(c) 2024 Samsung Electronics Co., Ltd.

}

/// <summary>
/// Overrides this method if want to handle behavior when the component receives the appcontrol message.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Overrides this method if want to handle behavior when the component receives the appcontrol message.
/// Overrides this method if you want to handle behavior when the component receives the appcontrol message.

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Copyright (c) 2022 Samsung Electronics Co., Ltd.
* Copyright (c) 2024 Samsung Electronics Co., Ltd.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your review. I'll fix it quickly 😊

@TizenAPI-Bot
Copy link
Collaborator

Internal API Changed

Added: 10, Removed: 0, Changed: 0

Added

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.NUIWidgetComponent

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.Window Tizen.NUI.NUIWidgetComponent::Window()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.NUIWidgetComponent::OnCreate(System.Int32,System.Int32)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::.ctor()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnDestroy(System.Boolean)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnPause()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnResume()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnStart(System.Boolean)

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Void Tizen.NUI.NUIWidgetComponent::OnStop()

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.Applications.ComponentBased.Common.IWindowProxy Tizen.NUI.NUIWidgetComponent::CreateWindowInfo(System.Int32,System.Int32)

Copy link
Contributor

@Seoyeon2Kim Seoyeon2Kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!!!!!!

@tscholb
Copy link
Contributor Author

tscholb commented Oct 10, 2024

리뷰 남겨주신 모든분들 감사합니다! 반영하겠습니다 👍

@tscholb tscholb merged commit 19dce34 into Samsung:DevelNUI Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants