Template Action Loader
open class TemplateActionLoader(val getTemplates: () -> List<Template> = { Settings.DEFAULT.templates }) : DynamicActionConfigurationCustomizer(source)
Registers, replaces, and unregisters actions for the user's Templates so that they can be inserted using shortcuts.
Parameters
get Templates
shorthand to return all the user's stored Templates
Inheritors
Functions
Link copied to clipboard
Returns all variant actions belonging to template.
Link copied to clipboard
Registers the actions associated with template using actionManager.
Link copied to clipboard
Registers the actions for all Templates in the user's Settings using actionManager.
Link copied to clipboard
Unregisters the actions associated with template using actionManager.
Link copied to clipboard
Unregisters the actions of all Templates in the user's Settings using actionManager.
Link copied to clipboard
fun updateActions(oldList: List<Template>, newList: List<Template>, actionManager: ActionManager = ActionManager.getInstance())
Registers, unregisters, and updates actions as appropriate for a transition from oldList to newList using actionManager.