new IaControllerManager()
A class to register all available IA controllers for editor.
Methods
-
(static) getAllControllerClasses() → {Array}
-
Returns all registered controller classes.
Returns:
- Type
- Array
-
(static) getAvailableControllerClasses(editorClass) → {Array}
-
Returns controller classes can be used for editorClass.
Parameters:
Name Type Description editorClass
Class Returns:
- Type
- Array
-
(static) register(controllerClass, targetEditorClass)
-
Register a controller, the controller can be used in targetEditorClass or its descendants.
Parameters:
Name Type Description controllerClass
Class targetEditorClass
Class -
(static) unregister(controllerClass)
-
Unregister a controller.
Parameters:
Name Type Description controllerClass
Class