MDrivenStart ClassActions
This page was created by Hans.karlsen@mdriven.net on 2020-07-10. Last edited by Stephanie@mdriven.net on 2025-02-26.
Class actions are actions that appear (become available) when the user selects an instance object of that class. They are practical since they are the model typing used to deduce when to show them. Thus, as a developer, you do not need to state every place you want them to appear.
Use Class actions when you are acting on an object instance; that is the rule, rather than the exception - that the user of the system should be able to execute this action whenever an instance of this type is seen. (You may have exceptions to this rule - that is what we call to opt-out an action).