Constructor
new Sidebar(_extensionUri)
Create an instance of the Sidebar.
Parameters:
Name | Type | Description |
---|---|---|
_extensionUri |
Extension URI. |
- Source:
Methods
_getHtmlForWebview(webview)
Create HTML content of the WebView.
Parameters:
Name | Type | Description |
---|---|---|
webview |
WebView instance. |
- Source:
Returns:
HTML content.
clearSelectedNode()
Clear information about selected node. Send this information to the sidebar.js file.
- Source:
resolveWebviewView(webviewView)
Revolves a webview view.
resolveWebviewView is called when a view first becomes visible.
This may happen when the view is first loaded or when the user hides and then shows a view again.
Parameters:
Name | Type | Description |
---|---|---|
webviewView |
Webview view to restore. The provider should take ownership of this view. The provider must set the webview's .html and hook up all webview events it is interested in. |
- Source:
selectNode(node)
Select a node from visualization. Set information to the sidebar.js file.
Parameters:
Name | Type | Description |
---|---|---|
node |
Selected node. |
- Source: