Commit Graph

5 Commits

Author SHA1 Message Date
patrick boutot
fa42c9b609 MVVM: Rework for the view runtime data. The new format allows for better error detection and new features in progress. The view owns the bindings and events. The source has a list of the bindings. That saves runtime of memory, the delegate doesn't store the binding id. All bindings, events, sources are now sorted for better incremental build performance.
Add a different "key" structures to prevent mistakes with indexes.
Unregister the delay bindings when the source is released.
Store the FieldId, in the source itself. That reduces the amount of work when loading the view.
Add option to delay the events initialization (like we do for bindings).
The binding to evaluate "long path" view models are now separated from regular bindings.
#jira UE-194167
#rb editor-ui-systems

[CL 30042205 by patrick boutot in ue5-main branch]
2023-12-01 11:13:35 -05:00
patrick boutot
63b4b620a7 MVVM: Test if the Binding library is loaded before accessing it.
#rb editor-ui-systems

[CL 25892725 by patrick boutot in ue5-main branch]
2023-06-09 10:26:25 -04:00
patrick boutot
03865cc874 MVVM: Save the function name and object name, if available, to the DebugSnapshot. Add a detait view for the DebugSnapshot. Change the main tab default layout.
#rb editor-ui-systems
#preflight 645139be6538e45f7555fb84, 646f5f1d6c2a2532b14c6791

[CL 25644278 by patrick boutot in ue5-main branch]
2023-05-26 12:02:21 -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
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