Set the command group to the 'focused group.
Optional
groupKey: stringThe key of the group to activate. If not provided then the current group is activated.
Add a collection of commands to the group.
The commands to add.
Optional
replace: booleanIf true
replace the existing commands. If false
ignores duplicates. If unspecified a warning will be logged for duplicates.
The keyboard event to dispatch
Return a command that matched the keyboard event or null
if no command was found.
The keyboard event.
Returns the keys associated with the group
Default implementation of
ICommands.IGroup
.