Creates a new CommandExecutor instance.
The command execution context
Executes a command based on the provided key if it's valid for the current scope.
The key representing the command to execute
No resources to release; kept so the Controller's uniform dispose sequence can treat every registered component alike.
Executes commands based on key bindings within the current scope.
The current scope is always read live from the underlying Context, so it stays in sync when Context.toggleScope() is called.