mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
allow extension to provide custom icons to data explorer tree (#16868)
* expose icon path to extension for OE node * remove node type * pr comments
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
import { nb, IConnectionProfile } from 'azdata';
|
||||
import * as vsExtTypes from 'vs/workbench/api/common/extHostTypes';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
|
||||
// SQL added extension host types
|
||||
export enum ServiceOptionType {
|
||||
@@ -447,6 +448,9 @@ export class TreeItem extends vsExtTypes.TreeItem {
|
||||
providerHandle?: string;
|
||||
}
|
||||
|
||||
export type ThemedIconPath = { light: string | URI; dark: string | URI };
|
||||
export type IconPath = string | URI | ThemedIconPath;
|
||||
|
||||
export class SqlThemeIcon {
|
||||
|
||||
static readonly Folder = new SqlThemeIcon('Folder');
|
||||
|
||||
Reference in New Issue
Block a user