mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -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:
@@ -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;
|
||||
|
||||
@@ -547,6 +547,7 @@ export function createApiFactory(
|
||||
nb: nb,
|
||||
AzureResource: sqlExtHostTypes.AzureResource,
|
||||
extensions: extensions,
|
||||
TreeItem: sqlExtHostTypes.TreeItem,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user