register Method
Register a Tool class. This establishes a connection between the toolId of the class and the class itself.
register(toolClass: , namespace?: string): void
Parameter | Type | Description |
---|---|---|
toolClass | the subclass of Tool to register. | |
namespace | string | the namespace for the localized strings for this tool. If undefined, use namespace from superclass. |
Returns - void
Defined in
- core/frontend/src/tools/Tool.ts Line 959
Last Updated: 08 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.