View Issue Details

IDProjectCategoryView StatusLast Update
0002213NoesisGUIUnrealpublic2021-12-14 13:31
Reportersergey_sitnikov_ninjatheory Assigned Tohcpizzi  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.1 
Target Version3.1.2Fixed in Version3.1.2 
Summary0002213: No way to call RaiseCanExecuteChanged for wrapped commands in UE4
DescriptionIt seems, there is no obvious way to get a NoesisFunctionWrapper for a MVVM command and call RaiseCanExecuteChanged for it.
TagsC++, UE4
PlatformAny

Activities

hcpizzi

hcpizzi

2021-12-14 13:31

developer   ~0007673

Two native functions have been added:

NOESISRUNTIME_API void NoesisNotifyCanExecuteFunctionChanged(class UObject*, FName);
NOESISRUNTIME_API void NoesisNotifyCanExecuteFunctionChanged(class UObject*, class UFunction*);

It's also been exposed for Blueprints in NoesisFunctionLibrary as:

 void NotifyCanExecuteFunctionChanged(UObject* Owner, FName FunctionName);

The functions get the wrapper for the command and invoke RaiseCanExecuteChanged.

Issue History

Date Modified Username Field Change
2021-12-09 10:44 sergey_sitnikov_ninjatheory New Issue
2021-12-09 10:44 sergey_sitnikov_ninjatheory Tag Attached: C++
2021-12-09 10:44 sergey_sitnikov_ninjatheory Tag Attached: UE4
2021-12-09 10:56 sfernandez Assigned To => hcpizzi
2021-12-09 10:56 sfernandez Status new => assigned
2021-12-09 10:56 sfernandez Target Version => 3.1.2
2021-12-14 13:31 hcpizzi Status assigned => resolved
2021-12-14 13:31 hcpizzi Resolution open => fixed
2021-12-14 13:31 hcpizzi Fixed in Version => 3.1.2
2021-12-14 13:31 hcpizzi Note Added: 0007673