OCLOperators CanExecuteAction
m ((username removed) (log details removed): Moving to Documentation namespace)
(Added Edited template with July 12, 2025.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This operator .....
{{Edited|July|12|2025}}
<message>Write the content here to display this box</message>


<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]]
==== '''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: