Action
class Action(val name: String, text: String, keyCombination: KeyCombination? = null, var tooltip: String? = null)
Action defines an action that the user can make, such a saving the current document. It does NOT define HOW that action is performed, that is the job of Command.
An Action defines the text, icon and keyCombination (AKA keyboard shortcut). Actions are grouped using the Actions class.
Constructors
Link copied to clipboard
constructor(name: String, text: String, keyCombination: KeyCombination? = null, tooltip: String? = null)