rename folder (#16848)

This commit is contained in:
Alan Ren
2021-08-20 15:35:00 -07:00
committed by GitHub
parent 9e16a30ece
commit 49e057f7ef
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as azdata from 'azdata';
import { ProviderId } from './connectionProvider';
const IconId = 'myprovidericon';
/**
* This class implements the IconProvider interface that allows users to contribute icons for the root tree node instead of using the generic server icon.
*/
export class IconProvider implements azdata.IconProvider {
public readonly providerId: string = ProviderId;
public handle?: number;
getConnectionIconId(connection: azdata.IConnectionProfile, serverInfo: azdata.ServerInfo): Thenable<string | undefined> {
return Promise.resolve(IconId);
}
}