28 Commits

Author SHA1 Message Date
patrick boutot
81e077a7d4 MVVM: Add option to generate conversion graph when compiling and not saved in the packages.
Useful when graph cannot be saved.
#jira UE-130879

[CL 26614351 by patrick boutot in 5.3 branch]
2023-07-26 13:51:11 -04:00
patrick boutot
f7a219685a MVVM: Save the MemberReference with self context. That allow the path to be used in the skeletal compilation phase.
#rb editor-ui-systems

[CL 26058530 by patrick boutot in 5.3 branch]
2023-06-16 12:57:13 -04:00
zahra nikbakht
8f77189b04 Drag and Drop support for viewmodel fields and widget properties in UMG details panel.
#jira UE-183423
#rb patrick.boutot

[CL 25816817 by zahra nikbakht in ue5-main branch]
2023-06-06 11:06:49 -04:00
patrick boutot
c8cb81eef1 MVVM: Before deleting a viewmodel, check if the viewmodel is in use. It will check in the bindings and in the conversion functions.
#rb editor-ui-systems
#preflight 6464ec6a2d446eac96cd1746

[CL 25509723 by patrick boutot in ue5-main branch]
2023-05-17 12:34:43 -04:00
patrick boutot
f778be2e4a MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 643df3ff211b661dc4179363, 643e7f5ea35280ed4f198658, 643ea4febf1053846658cad3, 643fd0669566b61450a63e88

[CL 25108939 by patrick boutot in ue5-main branch]
2023-04-19 12:21:08 -04:00
bob tellez
a974b2479b [Backout] - CL25038865
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 64381b51df20983c41604681

[CL 25050244 by bob tellez in ue5-main branch]
2023-04-14 17:07:03 -04:00
patrick boutot
a4220fc5fe MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 64381b51df20983c41604681

[CL 25039205 by patrick boutot in ue5-main branch]
2023-04-14 09:07:11 -04:00
bob tellez
953cc7733b [Backout] - CL25027663
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 64381b51df20983c41604681

[CL 25035582 by bob tellez in ue5-main branch]
2023-04-13 20:30:11 -04:00
patrick boutot
ed5cdea372 MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297

[CL 25032617 by patrick boutot in ue5-main branch]
2023-04-13 17:04:04 -04:00
patrick boutot
eeb3c16fca MVVM: Add a allowed ExecutionMode list.
Move GlobalCollection to GameInstance subsystem.
Rename category from MVVM to Viewmodel.
#preflight 63d5e0bcba4fadeef09bdfc2

[CL 23927160 by patrick boutot in ue5-main branch]
2023-01-31 10:21:03 -05:00
patrick boutot
9ae72c9a26 MVVM: Change the MVVM category for Viewmodel
[FYI] shirley.man

[CL 23747985 by patrick boutot in ue5-main branch]
2023-01-17 18:39:09 -05:00
sebastian nordgren
b727f21732 MVVM - Removed unused GetConversionFunctionWrapperName() function.
#rb trivial
#preflight 63c1504c0b358b97d14e8a17

[CL 23677927 by sebastian nordgren in ue5-main branch]
2023-01-13 10:50:29 -05:00
henrik karlsson
3c9aacb1ad [Engine/Plugins]
* Updated public headers for ~170 engine plugins using iwyu to remove includes not needed. Removed includes are still available behind UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63c08f4a2a6acaf1622bcc73
#rb none

[CL 23674775 by henrik karlsson in ue5-main branch]
2023-01-13 01:54:01 -05:00
patrick boutot
5fb63a6d59 MVVM: Execute Library Binding
#jira UE-132682
#rb sebastian.nordgren

[CL 23069825 by patrick boutot in ue5-main branch]
2022-11-09 21:03:55 -05:00
sebastian nordgren
1fb1577293 MVVM - Bindings now have a GUID for identification purposes instead of using the index.
Display name is now more readable when conversion functions are involved.

Moved some conversion function code from MVVMEditorSubsystem to ConversionFunctionHelper so that it can be reused in the compiler.

#rb patrick.boutot
#rnx
#preflight 633d7020164ef40c2e3f308d

[CL 22362227 by sebastian nordgren in ue5-main branch]
2022-10-05 16:05:24 -04:00
sebastian nordgren
2a7abd1c45 MVVM - Editor subsystem now correctly handles calls for simple conversion functions that don't create a wrapper UEdGraph.
#jira UE-161689
[REVIEW] [at]patrick.boutot
#rnx
#preflight 6323188ae872d7da0394014c

[CL 22039890 by sebastian nordgren in ue5-main branch]
2022-09-15 18:04:15 -04:00
sebastian nordgren
bc6b68d5bd MVVM - Added FindConversionFunctionArgumentPin() and GetConversionFunction() methods to UMVVMEditorSubsystem.
[REVIEW] [at]patrick.boutot
#rnx
#jira UE-161689
#preflight 631750a3da63cdf170ef3bc2

[CL 21862755 by sebastian nordgren in ue5-main branch]
2022-09-07 17:13:03 -04:00
Patrick Boutot
38e2c926b3 MVVM: Update the ViewModelBase SetProperty to support replication.
#review-21162977 sebastian.nordgren
#jira none
#preflight 62d7f367185da2495fface15

[CL 21178129 by Patrick Boutot in ue5-main branch]
2022-07-20 08:58:07 -04:00
sebastian nordgren
3395d1134d MVVM - Field selector now uses SSourceBindingList to display the available fields.
SSourceBindingList can now display both widget and viewmodel fields.

Moved several widgets to the UE::MVVM namespace - SMVVMFieldSelector most notably.

[REVIEW] [at]patrick.boutot
#jira UE-158306
#rnx
#preflight 62c40b76c94105372862d930

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20940602 via CL 20940610 via CL 20940612
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20941598 by sebastian nordgren in ue5-main branch]
2022-07-05 10:07:19 -04:00
patrick boutot
b714a63f8d MVVM: Change how available binding property are gather to respect the field privacy. Remove the different override that are not necessary anymore. Clean the include in SSelectViewModel. Give the WidgetBlueprint to different widget to be use by GetAvailableBindings.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20894555 via CL 20894859 via CL 20894888
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20898593 by patrick boutot in ue5-main branch]
2022-06-30 13:21:40 -04:00
patrick boutot
7a499cf935 MVVM: Use the viewmodel name instead of the class name. Create the menu to add a viewmodel. Use a UClass of any class at implement the NotifyFieldValue interface in BlueprintViewModelContext instead a ViewModelBase class.
#rb sebastien.nordgren
#preflight 62bc45213771c5710de91653

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20874026 via CL 20881496 via CL 20881723
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20885743 by patrick boutot in ue5-main branch]
2022-06-29 19:00:59 -04:00
patrick boutot
bc89f9833e MVVM: To support property without field notification (that will be one way only), add the bHasNotify to the FMVVMAvailableBinding.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20859707 via CL 20859750 via CL 20859771
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20870316 by patrick boutot in ue5-main branch]
2022-06-29 01:02:32 -04:00
sebastian nordgren
3a3f846e36 MVVM: Setting a conversion function with multiple arguments now generates a FunctionGraph in the widget blueprint that is used to call the function, which allows us to bind multiple properties to conversion functions.
Removed IFieldPathHelper. The functionality was moved to the editor subsystem, which made the abstraction unnecessary and unavailable to blueprint.

FBindingSource no longer contains the IsSelected member. This was very context-specific, and doesn't really make sense in the general case.

[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 62b9c947e77151e5996f3f36

#ROBOMERGE-OWNER: sebastian.nordgren
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20833893 via CL 20836430 via CL 20836446
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838757 by sebastian nordgren in ue5-main branch]
2022-06-27 16:24:02 -04:00
patrick boutot
37fce7d953 MVVM: First draft of the viewmodel panel.
#rb sebastian.nordren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20488825 via CL 20488833 via CL 20488842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20490633 by patrick boutot in ue5-main branch]
2022-06-03 14:47:48 -04:00
sebastian nordgren
5bae3b8437 Reverting support for multiple argument conversion function, added in CL20180539, since parts of the feature are not yet fully supported.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62825d9e046b81bf93bd1eab

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20225765 via CL 20226030 via CL 20226046
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20228100 by sebastian nordgren in ue5-main branch]
2022-05-16 14:07:25 -04:00