ActionRegistry
Class responsible for runtime-persisting actions and associating them with names and predicates.
Types
Functions
Link copied to clipboard
Gets the set of registry entries that are currently registered.
Link copied to clipboard
open fun registerAction(@NonNull action: Action, @NonNull names: Array<String>): ActionRegistry.Entry
Registers an action.
open fun registerAction(@NonNull clazz: Class<out Action>, @NonNull names: Array<String>): ActionRegistry.Entry
Registers an action by class.
Link copied to clipboard
Registers default actions.
Link copied to clipboard
Unregister an action from the registry.