mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* added initial data explorer viewlet * added dataexplorer contribution point * removed test view * remove unused imports * inital data source, needs work * add shim for ext host * formatting * making the necessary changes to use OE for tree view; need to look at TreeUpdateUtils.connectAndCreateOeSession * formatting * shimming oe more * update to add correct context * working cross provider; need to fix connection * connection works but it adds the connection to the oe for some reason * formatting * add custom connection dialog code path * hashing between trees * added flag and tests * add id maps to handle multiple nodepaths * add necessary car edit parts * keep current behavior in prodc * fix tests * address comments * update comments to be more informative * finish merge * update comments * fix whitespace
25 lines
1.0 KiB
TypeScript
25 lines
1.0 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { ITreeViewDataProvider, ITreeItem as vsITreeItem } from 'vs/workbench/common/views';
|
|
import { IConnectionProfile } from 'sqlops';
|
|
|
|
export interface ITreeComponentItem extends vsITreeItem {
|
|
checked?: boolean;
|
|
enabled?: boolean;
|
|
onCheckedChanged?: (checked: boolean) => void;
|
|
children?: ITreeComponentItem[];
|
|
}
|
|
|
|
export interface IModelViewTreeViewDataProvider extends ITreeViewDataProvider {
|
|
refresh(itemsToRefreshByHandle: { [treeItemHandle: string]: ITreeComponentItem });
|
|
}
|
|
|
|
export interface ITreeItem extends vsITreeItem {
|
|
providerHandle?: string;
|
|
childProvider?: string;
|
|
payload?: IConnectionProfile; // its possible we will want this to be more generic
|
|
}
|