OCLOperators CanExecuteAction
No edit summary
No edit summary
Line 1: Line 1:
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
This operator .....
 
This OCL Operator checks of if you can execute the action using the ExecuteAction operator.
  selfVM.CanExecuteAction(nameofnesting,nameofaction):boolean
  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]]

Revision as of 01:56, 21 September 2024


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:

This page was edited 56 days ago on 01/20/2025. What links here