Revert "Revert "OE clicking and awaiting the expansion calls (#6761)" (#6866)" (#6875)

This reverts commit a8d831d32e.
This commit is contained in:
Amir Omidi
2019-08-22 13:16:39 -07:00
committed by GitHub
parent 1a97313d19
commit ab9c4e0cbd
6 changed files with 48 additions and 34 deletions

View File

@@ -604,7 +604,7 @@ export class ObjectExplorerService implements IObjectExplorerService {
nodeInfo.nodeSubType, nodeInfo.nodeStatus, parent, nodeInfo.metadata, nodeInfo.iconType, {
getChildren: treeNode => this.getChildren(treeNode),
isExpanded: treeNode => this.isExpanded(treeNode),
setNodeExpandedState: (treeNode, expandedState) => this.setNodeExpandedState(treeNode, expandedState),
setNodeExpandedState: async (treeNode, expandedState) => await this.setNodeExpandedState(treeNode, expandedState),
setNodeSelected: (treeNode, selected, clearOtherSelections: boolean = undefined) => this.setNodeSelected(treeNode, selected, clearOtherSelections)
});
node.childProvider = nodeInfo.childProvider;