UNPKG

985 BTypeScriptView Raw
1import { Widget } from '../widgets';
2import { FrontendApplication, FrontendApplicationContribution } from '../frontend-application';
3import { WindowTitleService } from './window-title-service';
4import { LabelProvider } from '../label-provider';
5import { Disposable } from '../../common';
6export declare class WindowTitleUpdater implements FrontendApplicationContribution {
7 protected readonly windowTitleService: WindowTitleService;
8 protected readonly labelProvider: LabelProvider;
9 onStart(app: FrontendApplication): void;
10 protected toDisposeOnWidgetChanged: Disposable;
11 protected handleWidgetChange(widget?: Widget): void;
12 /**
13 * Updates the title of the application based on the currently opened widget.
14 *
15 * @param widget The current widget in the `main` application area. `undefined` if no widget is currently open in that area.
16 */
17 protected updateTitleWidget(widget?: Widget): void;
18}
19//# sourceMappingURL=window-title-updater.d.ts.map
\No newline at end of file