mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
Data Explorer Sourcing (#4033)
* 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
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ITreeViewDataProvider, ITreeItem } from 'vs/workbench/common/views';
|
||||
import { ITreeViewDataProvider, ITreeItem as vsITreeItem } from 'vs/workbench/common/views';
|
||||
import { IConnectionProfile } from 'sqlops';
|
||||
|
||||
export interface ITreeComponentItem extends ITreeItem {
|
||||
export interface ITreeComponentItem extends vsITreeItem {
|
||||
checked?: boolean;
|
||||
enabled?: boolean;
|
||||
onCheckedChanged?: (checked: boolean) => void;
|
||||
@@ -15,3 +16,9 @@ export interface ITreeComponentItem extends ITreeItem {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user