mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
* Add display property to ModelView components * Update DisplayType property in sqlops as well * More updates to HDFS Manage Access dialog * More updates to HDFS Manage Access dialog
36 lines
1.4 KiB
TypeScript
36 lines
1.4 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 * as vscode from 'vscode';
|
|
|
|
export interface IconPath {
|
|
dark: string;
|
|
light: string;
|
|
}
|
|
|
|
export class IconPathHelper {
|
|
private static extensionContext: vscode.ExtensionContext;
|
|
|
|
public static delete: IconPath;
|
|
public static user: IconPath;
|
|
public static group: IconPath;
|
|
|
|
public static setExtensionContext(extensionContext: vscode.ExtensionContext) {
|
|
IconPathHelper.extensionContext = extensionContext;
|
|
IconPathHelper.delete = {
|
|
dark: IconPathHelper.extensionContext.asAbsolutePath('resources/dark/delete_inverse.svg'),
|
|
light: IconPathHelper.extensionContext.asAbsolutePath('resources/light/delete.svg')
|
|
};
|
|
IconPathHelper.user = {
|
|
dark: IconPathHelper.extensionContext.asAbsolutePath('resources/dark/user_inverse.svg'),
|
|
light: IconPathHelper.extensionContext.asAbsolutePath('resources/light/user.svg')
|
|
};
|
|
IconPathHelper.group = {
|
|
dark: IconPathHelper.extensionContext.asAbsolutePath('resources/dark/group_inverse.svg'),
|
|
light: IconPathHelper.extensionContext.asAbsolutePath('resources/light/group.svg')
|
|
};
|
|
}
|
|
}
|