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
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
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
patrick boutot
2fba638de9
MVVM: Do not add the view if there is no bindings.
...
#preflight 6464e2252d446eac96c956df
[CL 25508628 by patrick boutot in ue5-main branch]
2023-05-17 11:52:48 -04:00
patrick boutot
2e9b9d33a1
MVVM: Add test to test removing an element from the FieldNotificationDelegate in a broadcast of the same delegate.
...
#jira UE-180226
#rb yohann.dossantos
#preflight 646411ff063e77985c437bd5
[CL 25507065 by patrick boutot in ue5-main branch]
2023-05-17 10:33:25 -04:00
kirill zorin
de8db5ff76
Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
...
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski
#preflight 646391406b1406b54ab15460
[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
patrick boutot
27c009cf08
MVVM: The picker filter conversion function by display name and by keyword.
...
#preflight 645e89458e01daf0e59f9f3b
[CL 25459266 by patrick boutot in ue5-main branch]
2023-05-12 16:28:45 -04:00
patrick boutot
096c6f634c
MVVM: Fix display of getter functions on Conversion function arguments. Source of a binding can now be a widget in the UI.
...
#jira UE-185599
#preflight 645e3500592448f08b1fef26
[CL 25454521 by patrick boutot in ue5-main branch]
2023-05-12 13:33:28 -04:00
patrick boutot
3aab490c06
MVVM: Refactor the field picker to update when the value changes. The widget creates the widget and only recreate it when the binding changes.
...
#jira UE-185599, FORT-601296, FORT-575479
#preflight 645cf221aa3c584c0b3f65c5
[CL 25431222 by patrick boutot in ue5-main branch]
2023-05-11 13:28:33 -04:00
patrick boutot
82c490c84f
MVVM: Prevent crash with undo or when a binding is removed. The DetailView used to point directly to the binding in the view. WHen the view is modified, the DetailView was pointing to a dangling pointer. Also remove the customizaer because they don't respect the selection rules.
...
#preflight 645bba73e81da34de94eec52, 645c3bbfcf788a25588affbb
[CL 25425022 by patrick boutot in ue5-main branch]
2023-05-11 08:09:35 -04:00
patrick boutot
46213fe12a
MVVM: Reused the same tree and child list if they are available. The key (the sharedptr) is what is kept internally by the TreeView to know where scrolling and which widget are extended.
...
#rb editor-ui-systems, vincent.gauthier
#preflight 645530f6386cf3c27342589e
[CL 25386503 by patrick boutot in ue5-main branch]
2023-05-09 09:15:32 -04:00
Patrick Boutot
5e36ee3d7c
MVVM: Add a blueprint view to the AssetSearch. The module is not added because it depends on the AssetSearch plugin. The code to enable it is ... but the "Optional" doesn't work at the moment and it would always enabled the AssetSearch.
...
{
"Name": "ModelViewViewModelAssetSearch",
"Type": "Editor",
"LoadingPhase": "Default"
}
],
"Plugins": [
{
"Name": "AssetSearch",
"Enabled": true,
"Optional": true
]
#rb editor-ui-systems
#preflight 6453f968386cf3c273d47cde
[CL 25352167 by Patrick Boutot in ue5-main branch]
2023-05-05 07:10:41 -04:00
patrick boutot
f034df0945
MVVM: Create a library for common MVVM conversion function.
...
#rb editor-ui-systems
#preflight 64512bb01c2846595cb20e5e
[CL 25341493 by patrick boutot in ue5-main branch]
2023-05-04 16:08:24 -04:00
patrick boutot
0dff82e192
MVVM: Test if the view is initialized before accessing the IsLibraryBindingEnabled function. Fix comments from previous review.
...
#rb none
[CL 25327680 by patrick boutot in ue5-main branch]
2023-05-03 18:05:37 -04:00
patrick boutot
70451142db
MVVM: Remove the same binding that was added. Used to remove all the bindings from that has the same FieldId. That was wrong. The same widget may have a new viewmodel of the same type and it would removed the bindings from all viewmodel.
...
#jira UE-180226
#rb editor-ui-systems
#preflight 6452479ac86798f6500d5e14
[CL 25321888 by patrick boutot in ue5-main branch]
2023-05-03 14:45:51 -04:00
patrick boutot
2602940722
MVVM: Add unittest for FieldNotificationDelegate. Fix bug with Remove that didn't return the correct state of the bindings.
...
#jira UE-180226
#preflight 644be4b5877716c87807d94e
#preflight 645222a8de5765212276ffec
[CL 25318858 by patrick boutot in ue5-main branch]
2023-05-03 12:28:04 -04:00
patrick boutot
886f0f54e4
Fix localization issue with MVVM Debugger
...
#rnx
#rb none
#jira UE-184667
[CL 25240460 by patrick boutot in ue5-main branch]
2023-04-28 16:44:39 -04:00
patrick boutot
02c03a9dfd
Fix FMVVMViewBindingDebugEntry variable initialization.
...
#rnx
#rb none
#jira UE-184489
[CL 25240429 by patrick boutot in ue5-main branch]
2023-04-28 16:43:52 -04:00
danny couture
2959cc678f
Temporary stopgap to prevent blueprint compilation from ALT in editor from trying to preload objects
...
#rnx
#rb Francis.Hurteau
#preflight trivial
[CL 25240075 by danny couture in ue5-main branch]
2023-04-28 16:33:48 -04:00
patrick boutot
72e1f8e9cc
MVVM: Always create the View on the userwidget at initialization before the PreConstruct and Destruct function. Only load the binding library when the first widget that uses that view is constructed (by TakeWidget) and release the binding library when the last widget that uses that view is destroyed (RealseSlateResource).
...
#rb vincent.gauthier
[CL 25221446 by patrick boutot in ue5-main branch]
2023-04-27 15:17:43 -04:00
patrick boutot
979fc4304a
MVVM: Uses Construct instead of Initialize to create to load the Binding Library.
...
[FYI] Oleksandr.Osovskyi, James.Brinkerhoff
[CL 25208073 by patrick boutot in ue5-main branch]
2023-04-26 17:52:43 -04:00
patrick boutot
a7591498df
MVVM: Add a debugger for viewmodel. Work in progress. You can see the list of view and viewmodel currently used. You can see the list of binding on a viewmodel.
...
#preflight 6449141a864f15ebf54374be
[CL 25203423 by patrick boutot in ue5-main branch]
2023-04-26 14:13:43 -04:00
patrick boutot
b4969d3095
MVVM: Unload properties from the view when no widget are using them. That reload the correct properties from a recompiled BP.
...
#rb none
#preflight 64469ece4944ef7892f2f1ae
[CL 25175416 by patrick boutot in ue5-main branch]
2023-04-24 23:18:34 -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