isExpanded -> shouldInitiallyExpand

This commit is contained in:
Pine Wu
2016-10-07 14:41:32 -07:00
parent eced815a8d
commit 8e9982c1b0
3 changed files with 8 additions and 6 deletions

View File

@@ -78,14 +78,14 @@ export class ExtHostTreeNode implements TreeContentNode {
id: number;
label: string;
isExpanded: boolean;
shouldInitiallyExpand: boolean;
children: ExtHostTreeNode[];
constructor(node: TreeContentNode, parent: ExtHostTreeNode, treeNodeMap: { [id: number]: ExtHostTreeNode}) {
this.id = ExtHostTreeNode.idCounter++;
this.label = node.label;
this.isExpanded = node.isExpanded;
this.shouldInitiallyExpand = node.shouldInitiallyExpand;
this.children = node.children.map(child => {
return new ExtHostTreeNode(child, this, treeNodeMap);
})