OCLOperators CanExecuteAction
(Replacing message template with parser tag)
(Added Edited template with July 12, 2025.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Edited|July|12|2025}}
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
This operator .....


<code>selfVM.CanExecuteAction(nameofnesting,nameofaction):boolean</code>
This OCL Operator checks of if you can execute the action using the ExecuteAction operator.
selfVM.CanExecuteAction(nameofnesting,nameofaction):boolean
[[Category:OCLOperators]]
[[Category:OCLOperators]]
[[Category:OCL ViewModel Operators]]
[[Category:OCL ViewModel Operators]]
[[Category:Actions]]
[[Category:Actions]]
{{Edited|July|12|2024}}
 
==== '''Arguments''' ====
<code>nameofnesting</code>''': String'''
 
Name of ViewModel [[Documentation:Nestings|Nesting]].
 
<code>nameofaction</code>''': String'''
 
ActionName to check for.
 
==== See also: ====
 
* [[Documentation:ListActions|ListActions]]
* [[Documentation:OCLOperators ExecuteAction|OCLOperator ExecuteAction]]
* [[Documentation:Nestings|Nestings]]

Latest revision as of 06:31, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2023-03-10. Last edited by Edgar on 2025-01-20.


This OCL Operator checks of if you can execute the action using the ExecuteAction operator.

selfVM.CanExecuteAction(nameofnesting,nameofaction):boolean

Arguments

nameofnesting: String

Name of ViewModel Nesting.

nameofaction: String

ActionName to check for.

See also: