Home > @i2analyze/notebook-sdk > IEntryPointApi > createToolView
IEntryPointApi.createToolView() method
Warning: This API is now obsolete.
Deprecated since version 1.3. Use createToolView(IToolViewConfig) instead.
Creates and returns a tool view with the specified name and content.
Signature:
createToolView(name: string, path: string): toolview.IToolView;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the tool view, which appears as a heading in the user interface. |
path | string | The path to the content to host in the tool view, relative to the plug-in entry point. For example, setting path to './ ' makes the server use the folder that contains the entry point. |
Returns:
The new tool view.