#plugins.core.action.manager
Action Manager Module.
#API Overview
Constants - Useful values which cannot be changed
Functions - API calls offered directly by the extension
#API Documentation
#Constants
Signature | plugins.core.action.manager.handlerIds <cp.prop: table of strings; read-only> |
Type | Constant |
Description | Returns a list of registered handler IDs. |
Notes | None |
Source | src/plugins/core/action/manager/init.lua line 181 |
Signature | plugins.core.action.manager.handlers <cp.prop: table of handlers; read-only> |
Type | Constant |
Description | Provides access to the set of handlers registered with the manager. It |
Notes | None |
Source | src/plugins/core/action/manager/init.lua line 172 |
#Functions
Signature | plugins.core.action.manager.addHandler(id, group, label) -> handler |
Type | Function |
Description | Adds a new action handler with the specified unique ID and returns it for further configuration. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/core/action/manager/init.lua line 134 |
Signature | plugins.core.action.manager.getActivator(id) -> activator |
Type | Function |
Description | Returns an activator with the specified ID. If it doesn't exist, it will be created. Future calls to get the same ID, and it will return the same instance each time. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/core/action/manager/init.lua line 205 |
Signature | plugins.core.action.manager.getHandler(id) -> handler |
Type | Function |
Description | Returns an existing handler with the specified ID. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/core/action/manager/init.lua line 192 |
Signature | plugins.core.action.manager.getURL(handlerId, action) -> string |
Type | Function |
Description | Gets a URL based on the Handler ID & Action Table. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/core/action/manager/init.lua line 114 |
Signature | plugins.core.action.manager.init() -> none |
Type | Function |
Description | Initialises the module. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/core/action/manager/init.lua line 96 |