Constructor
new ConnectionsTreeDataProvider()
Inititalizes the provider.
- Source:
Members
_onDidChangeTreeData
Action executed when TreeView data changed.
_onDidChangeTreeData
Action executed when TreeView data changed.
Methods
clearAllNodes()
Clear the list of nodes.
clearAllNodes()
Clear the list of nodes.
getChildren()
Get a list of childer of the element.
Returns:
All data elements as there is only one layer in the tree.
getChildren()
Get a list of childer of the element.
Returns:
All data elements as there is only one layer in the tree.
getTreeItem(element)
Get the tree item (implemented because it is required by the interface).
Parameters:
Name | Type | Description |
---|---|---|
element |
Element that is also returned. |
Returns:
getTreeItem(element)
Get the tree item (implemented because it is required by the interface).
Parameters:
Name | Type | Description |
---|---|---|
element |
Element that is also returned. |
Returns:
refresh()
Refresh the TreeViev.
refresh()
Refresh the TreeViev.
updateNodes(nodeData)
Adds new nodes to the TreeView.
Parameters:
Name | Type | Description |
---|---|---|
nodeData |
List of nodes to be added. |
updateNodes(nodeData)
Adds new nodes to the TreeView.
Parameters:
Name | Type | Description |
---|---|---|
nodeData |
List of nodes to be added. |