new WorkspaceTreeItem(label, collapsibleState, workspace, storiesCount)
Creates a new WorkspaceTreeItem instance.
Parameters:
Name | Type | Description |
---|---|---|
label |
string | The display text for the workspace |
collapsibleState |
vscode.TreeItemCollapsibleState | Whether and how the workspace can be expanded |
workspace |
Workspace | The workspace this tree item represents |
storiesCount |
number | Total number of stories in this workspace |
- Source: