Constructor
new RemovedTreeDataProvider()
Inititalizes the provider.
- Source:
Members
_onDidChangeTreeData
Action executed when TreeView data changed.
- Source:
_onDidChangeTreeData
Action executed when TreeView data changed.
Methods
addNode(label, recipe)
Adds a new node to the list of removed nodes.
Parameters:
Name | Type | Description |
---|---|---|
label |
Name of the recipe. | |
recipe |
Path to the recipe file. |
- Source:
addNode(label, recipe)
Adds a new node to the list of removed nodes.
Parameters:
Name | Type | Description |
---|---|---|
label |
Name of the recipe. | |
recipe |
Path to the recipe file. |
clearAllNodes()
Clear the list of nodes.
- Source:
clearAllNodes()
Clear the list of nodes.
getChildren()
Get a list of childer of the element.
- Source:
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. |
- Source:
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.
- Source:
refresh()
Refresh the TreeViev.
removeNode(label)
Remove node from the list of removed nodes.
Parameters:
Name | Type | Description |
---|---|---|
label |
Name of the node to be removed. |
- Source:
removeNode(label)
Remove node from the list of removed nodes.
Parameters:
Name | Type | Description |
---|---|---|
label |
Name of the node to be removed. |