UNPKG

1.43 kBTypeScriptView Raw
1import { Widget, Title } from '@phosphor/widgets';
2import { TabBarToolbar, TabBarToolbarRegistry, TabBarToolbarFactory } from './tab-bar-toolbar';
3import { Message } from '@phosphor/messaging';
4import { BaseWidget } from '../widgets';
5import { Emitter } from '../../common/event';
6import { ContextMenuAccess, Anchor } from '../context-menu-renderer';
7export declare class SidePanelToolbar extends BaseWidget {
8 protected readonly tabBarToolbarRegistry: TabBarToolbarRegistry;
9 protected readonly tabBarToolbarFactory: TabBarToolbarFactory;
10 protected readonly side: 'left' | 'right';
11 protected titleContainer: HTMLElement | undefined;
12 private _toolbarTitle;
13 protected toolbar: TabBarToolbar | undefined;
14 protected readonly onContextMenuEmitter: Emitter<MouseEvent>;
15 readonly onContextMenu: import("../../common/event").Event<MouseEvent>;
16 constructor(tabBarToolbarRegistry: TabBarToolbarRegistry, tabBarToolbarFactory: TabBarToolbarFactory, side: 'left' | 'right');
17 protected onBeforeAttach(msg: Message): void;
18 protected onAfterAttach(msg: Message): void;
19 protected onBeforeDetach(msg: Message): void;
20 protected onUpdateRequest(msg: Message): void;
21 protected updateToolbar(): void;
22 protected init(): void;
23 set toolbarTitle(title: Title<Widget> | undefined);
24 showMoreContextMenu(anchor: Anchor): ContextMenuAccess;
25}
26//# sourceMappingURL=side-panel-toolbar.d.ts.map
\No newline at end of file