Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/common/panecomposite.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { IView, IViewPaneContainer } from './views.js';
7
import { IComposite } from './composite.js';
8
9
export interface IPaneComposite extends IComposite {
10
11
/**
12
* Returns the minimal width needed to avoid any content horizontal truncation
13
*/
14
getOptimalWidth(): number | undefined;
15
16
openView<T extends IView>(id: string, focus?: boolean): T | undefined;
17
getViewPaneContainer(): IViewPaneContainer | undefined;
18
}
19
20
21