interface TreeViewsExt { $checkStateChanged(treeViewId,
itemIds): Promise<void>; $dragEnd(treeViewId): Promise<void>; $dragStarted(treeViewId,
treeItemIds,
token): Promise<undefined | UriComponents[]>; $drop(treeViewId,
treeItemId,
dataTransferItems,
token): Promise<void>; $getChildren(treeViewId,
treeItemId): Promise<undefined | TreeViewItem[]>; $hasResolveTreeItem(treeViewId): Promise<boolean>; $resolveTreeItem(treeViewId,
treeItemId,
token): Promise<undefined | TreeViewItem>; $setExpanded(treeViewId,
treeItemId,
expanded): Promise<any>; $setSelection(treeViewId,
treeItemIds): Promise<void>; $setVisible(treeViewId,
visible): Promise<void>; } Methods
$checkStateChanged
- $checkStateChanged(treeViewId, itemIds): Promise<void>
Parameters
- treeViewId: string
- itemIds: {
checked: boolean;
id: string;
}[]
Returns Promise<void>
$dragEnd
- $dragEnd(treeViewId): Promise<void>
Returns Promise<void>
$dragStarted
- $dragStarted(treeViewId, treeItemIds, token): Promise<undefined | UriComponents[]>
Returns Promise<undefined | UriComponents[]>
$drop
- $drop(treeViewId, treeItemId, dataTransferItems, token): Promise<void>
Returns Promise<void>
$getChildren
- $getChildren(treeViewId, treeItemId): Promise<undefined | TreeViewItem[]>
Parameters
- treeViewId: string
- treeItemId: undefined | string
Returns Promise<undefined | TreeViewItem[]>
$hasResolveTreeItem
- $hasResolveTreeItem(treeViewId): Promise<boolean>
Returns Promise<boolean>
$resolveTreeItem
- $resolveTreeItem(treeViewId, treeItemId, token): Promise<undefined | TreeViewItem>
Returns Promise<undefined | TreeViewItem>
$setExpanded
- $setExpanded(treeViewId, treeItemId, expanded): Promise<any>
Parameters
- treeViewId: string
- treeItemId: string
- expanded: boolean
Returns Promise<any>
$setSelection
- $setSelection(treeViewId, treeItemIds): Promise<void>
Parameters
- treeViewId: string
- treeItemIds: string[]
Returns Promise<void>
$setVisible
- $setVisible(treeViewId, visible): Promise<void>
Parameters
- treeViewId: string
- visible: boolean
Returns Promise<void>