1 |
|
2 | import * as React from 'react';
|
3 | import { CommandService } from '../../common';
|
4 | import { ReactWidget } from '../widgets/react-widget';
|
5 | import { FrontendApplicationStateService } from '../frontend-application-state';
|
6 | import { LabelParser } from '../label-parser';
|
7 | import { PreferenceService } from '../preferences';
|
8 | import { StatusBar, StatusBarEntry, StatusBarAlignment, StatusBarViewEntry } from './status-bar-types';
|
9 | import { StatusBarViewModel } from './status-bar-view-model';
|
10 | import { HoverService } from '../hover-service';
|
11 | export { StatusBar, StatusBarAlignment, StatusBarEntry };
|
12 | export declare class StatusBarImpl extends ReactWidget implements StatusBar {
|
13 | protected readonly commands: CommandService;
|
14 | protected readonly entryService: LabelParser;
|
15 | protected readonly applicationStateService: FrontendApplicationStateService;
|
16 | protected readonly preferences: PreferenceService;
|
17 | protected readonly viewModel: StatusBarViewModel;
|
18 | protected readonly hoverService: HoverService;
|
19 | protected backgroundColor: string | undefined;
|
20 | protected color: string | undefined;
|
21 | constructor(commands: CommandService, entryService: LabelParser, applicationStateService: FrontendApplicationStateService, preferences: PreferenceService, viewModel: StatusBarViewModel, hoverService: HoverService);
|
22 | protected debouncedUpdate: import("lodash").DebouncedFunc<() => void>;
|
23 | protected get ready(): Promise<void>;
|
24 | setElement(id: string, entry: StatusBarEntry): Promise<void>;
|
25 | removeElement(id: string): Promise<void>;
|
26 | setBackgroundColor(color?: string): Promise<void>;
|
27 | protected internalSetBackgroundColor(color?: string): void;
|
28 | setColor(color?: string): Promise<void>;
|
29 | protected internalSetColor(color?: string): void;
|
30 | protected render(): JSX.Element;
|
31 | protected onclick(entry: StatusBarEntry): () => void;
|
32 | protected createAttributes(viewEntry: StatusBarViewEntry): React.Attributes & React.HTMLAttributes<HTMLElement>;
|
33 | protected renderElement(entry: StatusBarViewEntry): JSX.Element;
|
34 | }
|
35 | //# sourceMappingURL=status-bar.d.ts.map |
\ | No newline at end of file |