122 Commits

Author SHA1 Message Date
patrick boutot
3cc97f0ad7 MVVM: If we are not allowed to add the view, remove all the generated functions added by the view.
#rb none
#jira UE-130879

[CL 26881565 by patrick boutot in 5.3 branch]
2023-08-07 09:54:21 -04:00
patrick boutot
71b99248bb MVVM: Fix conversion function allow test when the graph is a wrapper.
[CL 26870831 by patrick boutot in 5.3 branch]
2023-08-05 11:49:18 -04:00
patrick boutot
7142dd466a MVVM: Undo modification made to make property blueprintreadonly. Introduced with CL 26845876
#rb trivial

[CL 26848348 by patrick boutot in 5.3 branch]
2023-08-04 11:35:27 -04:00
patrick boutot
6362905afd MVVM: Fix conversion function with multiples input paths.
Bindings will only be executed once at initialization. The bug happend when more than once source can activate the same binding.
Binding can now be OneWay if at least one argument is a FieldNotify. Otherwise it needs to be a OneTime.
Binding that has hardcoded value, no paths, are now supported.
#rb vincent.gauthier

[CL 26845984 by patrick boutot in 5.3 branch]
2023-08-04 10:43:00 -04:00
patrick boutot
cbced5c93a MVVM: Fix bad order in ToString introduced with CL26629088
#rb trivial

[CL 26807113 by patrick boutot in 5.3 branch]
2023-08-03 08:36:37 -04:00
patrick boutot
5252058717 MVVM: Rework how nodes are read and created for complex conversion function.
#rb editor-ui-systems

[CL 26773210 by patrick boutot in 5.3 branch]
2023-08-02 11:03:00 -04:00
patrick boutot
e1256d6f10 MVVM: Fix bad format syntax.
#rnx
#rb trivial

[CL 26768904 by patrick boutot in 5.3 branch]
2023-08-02 08:36:00 -04:00
patrick boutot
a0ab119c05 MVVM: Add UX for view's settings. Seperate bindings initialization and sources initialization. Use can now select if it wants the bindings and the sources to be initialized.
#rb editor-ui-systems

[CL 26715781 by patrick boutot in 5.3 branch]
2023-07-31 14:42:30 -04:00
patrick boutot
5e7ddbdf85 MVVM: Fix bad refactor code introduced with CL 26614337
#jira UE-191378
#rb none

[CL 26652010 by patrick boutot in 5.3 branch]
2023-07-27 15:54:37 -04:00
patrick boutot
5f93aa6138 Temporary fix for UE-191378. Log an error instead of crashing until we figure out what is going on.
#rnx
#jira UE-191378

[CL 26649784 by patrick boutot in 5.3 branch]
2023-07-27 15:14:36 -04:00
patrick boutot
225ca03821 MVVM: When a conversion function is virtual, reevaluate at runtime the function.
#jira UE-189301
#rb vincent.gauthier

[CL 26629110 by patrick boutot in 5.3 branch]
2023-07-26 20:19:13 -04:00
patrick boutot
232cc0a33f Fix 338325 build issue.
[CL 26628963 by patrick boutot in 5.3 branch]
2023-07-26 20:15:47 -04:00
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
zahra nikbakht
01f1ee22a4 MVVM: add searchbar for binding view panel
#jira UE-170982
#rb patrick.boutot
#p4v-cherrypick 26466725

[CL 26555095 by zahra nikbakht in 5.3 branch]
2023-07-24 16:49:52 -04:00
patrick boutot
3aeb76aef3 MVVM: Change error message when the field does not exist to include a posible solution to the problem. Test if the field exist on the downcasted struct instead of the previous property owner struct.
#jira UE-189649
#rb vincent.gauthier

[CL 26467804 by patrick boutot in 5.3 branch]
2023-07-19 15:03:01 -04:00
patrick boutot
5e4749515e MVVM: Fix analysis issue. Early returns if we can't evaluate the path.
#rnx

[CL 26100829 by patrick boutot in 5.3 branch]
2023-06-19 15:23:10 -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
keaton stewart
f31c33bf04 [Backout] - CL25766777 CIS FastCook Error
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Supports FieldNotify broadcast on BP defined variable.
#rb editor-ui-systems
#preflight 6479ed64d36d33e0e45190c7

[CL 25770631 by keaton stewart in ue5-main branch]
2023-06-02 15:16:58 -04:00
patrick boutot
624d0d37a6 MVVM: Supports FieldNotify broadcast on BP defined variable.
#rb editor-ui-systems
#preflight 6479ed64d36d33e0e45190c7

[CL 25766805 by patrick boutot in ue5-main branch]
2023-06-02 13:33:02 -04:00
patrick boutot
d03f30be38 MVVM: Add the viewmodel tag data to the userwidget generated class. It was present on the blueprint asset but that data is not present in coocked build.
#rb editor-ui-systems
#jira UE-164353
#preflight 646f369c2c0a5da0dc849154

[CL 25644058 by patrick boutot in ue5-main branch]
2023-05-26 11:58:53 -04:00
patrick boutot
aa10b2b6b9 MVVM: Add the Auto ExecutionMode. It will decide at compile time if it should run the binding should be run immediately or delayed. A binding will be run in delay mode if the binding can be triggered from more than one field.
#rb vincent.gauthier
#preflight 646e13201b241f07482943d5, 646f3cb2bf15b1ab007a3d10

[CL 25644056 by patrick boutot in ue5-main branch]
2023-05-26 11:58:47 -04:00
patrick boutot
8245b6eba3 MVVM: Update compiler error message when the field is not found. It's probably because it's missing the FieldNotify
#rb none
#preflight 646e6542807b157b8b536a2a

[CL 25635288 by patrick boutot in ue5-main branch]
2023-05-25 19:34:26 -04:00
patrick boutot
3bf46e8ebb MVVM: Add a message at compile time when 2 views will be use at runtime.
#preflight 646e63f84422ba05f4286e65

[CL 25635282 by patrick boutot in ue5-main branch]
2023-05-25 19:34:21 -04:00
patrick boutot
47f876b932 MVVM: Fix static analysis warning
#rnx
#rb none

[CL 25546030 by patrick boutot in ue5-main branch]
2023-05-19 12:03:31 -04:00
patrick boutot
384a2ffacf MVVM: Enable bindings from view to view or viewmodel to viewmodel for the compiler. The binding execution does not care. It was restricted by the UI.
#rb editor-ui-systems
#preflight 6464d204f033744ae66aa602

[CL 25509715 by patrick boutot in ue5-main branch]
2023-05-17 12:34:34 -04:00