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:
Anthony Dresser
2019-02-21 13:47:59 -08:00
committed by GitHub
parent cc97198fe4
commit e345090015
23 changed files with 1043 additions and 28 deletions

View File

@@ -4,8 +4,8 @@
*--------------------------------------------------------------------------------------------*/
'use strict';
import { nb } from 'sqlops';
import { TreeItem } from 'vs/workbench/api/node/extHostTypes';
import { nb, IConnectionProfile } from 'sqlops';
import * as vsExtTypes from 'vs/workbench/api/node/extHostTypes';
// SQL added extension host types
export enum ServiceOptionType {
@@ -315,7 +315,7 @@ export interface ToolbarLayout {
orientation: Orientation;
}
export class TreeComponentItem extends TreeItem {
export class TreeComponentItem extends vsExtTypes.TreeItem {
checked?: boolean;
}
@@ -324,6 +324,11 @@ export enum AzureResource {
Sql = 1
}
export class TreeItem extends vsExtTypes.TreeItem {
payload: IConnectionProfile;
providerHandle: string;
}
export interface ServerInfoOption {
isBigDataCluster: boolean;
clusterEndpoints: ClusterEndpoint;

View File

@@ -547,6 +547,7 @@ export function createApiFactory(
nb: nb,
AzureResource: sqlExtHostTypes.AzureResource,
extensions: extensions,
TreeItem: sqlExtHostTypes.TreeItem,
};
}
};