mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* Remove unnecessary 'use strict' lines and add hygiene check for them * Move check to under tslint filters to reduce number of filters needed * Only take first 10 lines of file
21 lines
873 B
TypeScript
21 lines
873 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
|
|
|
export const IFileBrowserDialogController = createDecorator<IFileBrowserDialogController>('fileBrowserDialogService');
|
|
export interface IFileBrowserDialogController {
|
|
_serviceBrand: any;
|
|
/**
|
|
* Show file browser dialog
|
|
*/
|
|
showDialog(ownerUri: string,
|
|
expandPath: string,
|
|
fileFilters: { label: string, filters: string[] }[],
|
|
fileValidationServiceType: string,
|
|
isWide: boolean,
|
|
handleOnOk: (path: string) => void): void;
|
|
}
|