Methods
$dragEnd
- $dragEnd(treeViewId: string): Promise<void>
Parameters
Returns Promise<void>
$dragStarted
- $dragStarted(treeViewId: string, treeItemIds: string[], token: CancellationToken): Promise<undefined | UriComponents[]>
Parameters
treeViewId: string
treeItemIds: string[]
token: CancellationToken
Returns Promise<undefined | UriComponents[]>
$drop
- $drop(treeViewId: string, treeItemId: undefined | string, dataTransferItems: [string, string | DataTransferFileDTO][], token: CancellationToken): Promise<void>
Parameters
treeViewId: string
treeItemId: undefined | string
dataTransferItems: [string, string | DataTransferFileDTO][]
token: CancellationToken
Returns Promise<void>
$getChildren
- $getChildren(treeViewId: string, treeItemId: undefined | string): Promise<undefined | TreeViewItem[]>
Parameters
treeViewId: string
treeItemId: undefined | string
Returns Promise<undefined | TreeViewItem[]>
$hasResolveTreeItem
- $hasResolveTreeItem(treeViewId: string): Promise<boolean>
Parameters
Returns Promise<boolean>
$resolveTreeItem
- $resolveTreeItem(treeViewId: string, treeItemId: string, token: CancellationToken): Promise<undefined | TreeViewItem>
Parameters
treeViewId: string
treeItemId: string
token: CancellationToken
Returns Promise<undefined | TreeViewItem>
$setExpanded
- $setExpanded(treeViewId: string, treeItemId: string, expanded: boolean): Promise<any>
Parameters
treeViewId: string
treeItemId: string
expanded: boolean
Returns Promise<any>
$setSelection
- $setSelection(treeViewId: string, treeItemIds: string[]): Promise<void>
Parameters
treeViewId: string
treeItemIds: string[]
Returns Promise<void>
$setVisible
- $setVisible(treeViewId: string, visible: boolean): Promise<void>
Parameters
treeViewId: string
visible: boolean
Returns Promise<void>