25 Commits

Author SHA1 Message Date
daren cheng
40714e7a08 Add LoadAsset & derived classes to allowlist for MVVM
Make Node Bindings show display name rather than node class name

#rb daren.cheng
#tests editor
[FYI] editor-ui-systems

[CL 35937414 by daren cheng in ue5-main branch]
2024-08-30 16:58:33 -04:00
patrick boutot
56488c7325 MVVM: Add an event when a conversion function setting changes. The event is used to rebuild the library.
#rb zahra.nikbakht

[CL 34638925 by patrick boutot in ue5-main branch]
2024-06-25 08:55:46 -04:00
patrick boutot
4da60c9351 Add generic ToText node that uses the local culture.
#rb Jamie.Dale, editor-ui-systems

[CL 34033448 by patrick boutot in ue5-main branch]
2024-05-31 11:31:22 -04:00
zahra nikbakht
cb2a943bcb MVVM: Extension improvements:
Support undo/redo
Support copy/paste
Add setting for supported widget types
#rb patrick.boutot

[CL 33102960 by zahra nikbakht in ue5-main branch]
2024-04-19 10:53:00 -04:00
patrick boutot
6ecdd32cde MVVM: Fix function and property filtering on the generated bp class (userwidget).
#jira UE-211193
#rb daren.cheng, zahra.nikbakht

[CL 32669776 by patrick boutot in ue5-main branch]
2024-04-02 12:09:27 -04:00
patrick boutot
b48842aa7a MVVM: Evalute the bindings automatically when the source is set but the value didn't changed. That is a global option and an option on the viewmodel definition itself.
Change the category of MVVMDeveloperProjectSettings.
Fix bug in customization, the bCreateSetter flag was set but never propagated to the copied object.
#jira UE-209383
#rb editor-ui-systems

[CL 32242163 by patrick boutot in ue5-main branch]
2024-03-14 08:07:46 -04:00
patrick boutot
15c0d7f642 MVVM: Add Conversion Function Library.
The functions are collected when on module load and when the BP class compiles. A function can be a Node. The BP registry do not collect all function types, like opcode functions. This library collects K2_Node and all function types supported by MVVM.
#jira UE-201164, UE-190393
#rb daren.cheng

[CL 31987162 by patrick boutot in ue5-main branch]
2024-03-04 09:12:29 -05:00
patrick boutot
2e9a983dfa MVVM: Function in another widget was not correctly tested for availability. Prevent crash when the availability test fails.
#jira UE-204712
#rb editor-ui-systems

[CL 31303323 by patrick boutot in ue5-main branch]
2024-02-08 15:56:09 -05:00
zahra nikbakht
d9a7d6d2d3 MVVM: fix field selector permission setting not working.
Add to the list of disallowed fields.
#rb Patrick.Boutot

[CL 30887449 by zahra nikbakht in ue5-main branch]
2024-01-25 10:53:19 -05:00
patrick boutot
146c084883 MVVM: Enable K2Node as conversion functions.
#jira UE-190393
#rb editor-ui-systems

[CL 30592808 by patrick boutot in ue5-main branch]
2024-01-12 10:07:58 -05:00
patrick boutot
0bb197807d MVVM: Test if a field is allowed base on the path, not only on the field owner. That allow to have a Widget's property allowed on a child widget but not on the base widget.
#rb editor-ui-systems

[CL 29753638 by patrick boutot in ue5-main branch]
2023-11-15 13:51:32 -05:00
patrick boutot
32d96bd882 MVVM: Test permission setting with the authorithy class.
#jira UE-194167

[CL 29434496 by patrick boutot in ue5-main branch]
2023-11-03 20:44:49 -04:00
patrick boutot
2580c374df MVVM: Change the description of the MVVM settings in the settings windows for "UMG Model View Viewmodel".
#jira UE-164316

[CL 28965963 by patrick boutot in ue5-main branch]
2023-10-20 10:49:52 -04:00
patrick boutot
f852893a58 MVVM: Allow a property or a function if it's from the blueprint we are currently compiling.
#jira UE-191812
#rb editor-ui-systems

[CL 28963236 by patrick boutot in ue5-main branch]
2023-10-20 09:15:33 -04:00
daren cheng
6feb5780e6 Fix MVVM failing validation due to checking if object nodes were allowed within themselves
Add PropertyHasFiltering method to complete MVVM allowlist API.
Make LocalizableMessage API exposed so that it can be allowlisted.

#rb yohann.dossantos byron.cornejo
[FYI] [at]Patrick.boutot

[CL 28521880 by daren cheng in ue5-main branch]
2023-10-05 18:27:37 -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
ronald koppers
6f5addd262 Renamed PropertyEditorPermissionList to PropertyPermissionList.
#preflight 63fd04f5c35a14198011368b
#rb Rex.Hill

[CL 24432348 by ronald koppers in ue5-main branch]
2023-02-27 16:27:44 -05:00
patrick boutot
fb31ea2d89 MVVM: Test if the properties or functions are allowed at compile time.
#jira UE-164316
#preflight 63eaf47eb91ae11c1cf4ded7, 63ece0c9514832b242a0f66b

[CL 24289488 by patrick boutot in ue5-main branch]
2023-02-17 15:28:46 -05:00
patrick boutot
7dd604438f MVVM: Test if the properties or functions are allowed at compile time.
#jira UE-164316
#preflight 63eaf47eb91ae11c1cf4ded7

[CL 24213905 by patrick boutot in ue5-main branch]
2023-02-14 12:07:02 -05:00
patrick boutot
e8291c18bd MVVM: Veriry the allowed list when picking a property/function from the field selector.
#jira
#preflight 63e6975bf8244e55a4bab8ed

[CL 24173369 by patrick boutot in ue5-main branch]
2023-02-13 08:39:55 -05:00
patrick boutot
136813f938 UMG: Add setting to disable UMG binding.
#jira UE-164316
#preflight 63e455505c0ce8f11b0acb51

[CL 24106280 by patrick boutot in ue5-main branch]
2023-02-09 16:22:43 -05:00
patrick boutot
f2cfd4e83f MVVM: Add setting to find conversion functions.
#jira UE-164316
#preflight 63e3a287e042058d698ba8b4

[CL 24074931 by patrick boutot in ue5-main branch]
2023-02-08 12:16:32 -05: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
707d2e3eb5 MVVM: Fix the binding picker to select property when we are in read mode.
#jira UE-145739
#rb sebastian.nordgren
#preflight 6374f6ee324842530577f387

[CL 23174676 by patrick boutot in ue5-main branch]
2022-11-17 08:20:42 -05:00
patrick boutot
bf56fd9f4f MVVM: Use WeakObjectPtr to save UObject reference. Display the widget current slot properties. Confirm that the selected property can be assign or read before returning it. Created project setting. Filter property that can be display in the FieldSelector.
#rb sebastian.nordren
#preflight 632b6876e23e50651bf79d06, 632df2c7d51603c54898b28b

[CL 22165378 by patrick boutot in ue5-main branch]
2022-09-23 20:46:19 -04:00