register Method
Register a Tool class. This establishes a connection between the toolId of the class and the class itself.
register(toolClass: ToolType, namespace?: I18NNamespace, i18n?: I18N): void
Parameter | Type | Description |
---|---|---|
toolClass | ToolType | the subclass of Tool to register. |
namespace | I18NNamespace | the namespace for the localized strings for this tool. If undefined, use namespace from superclass. |
i18n | I18N |
Defined in
Last Updated: 08 January, 2020