UNPKG

756 BTypeScriptView Raw
1import { Command, CommandContribution, CommandRegistry } from '../common';
2import { WindowService } from './window/window-service';
3import { KeybindingContribution, KeybindingRegistry } from './keybinding';
4import { MenuContribution, MenuModelRegistry } from '../common/menu';
5export declare namespace WindowCommands {
6 const NEW_WINDOW: Command;
7}
8export declare class WindowContribution implements CommandContribution, KeybindingContribution, MenuContribution {
9 protected windowService: WindowService;
10 registerCommands(commands: CommandRegistry): void;
11 registerKeybindings(registry: KeybindingRegistry): void;
12 registerMenus(registry: MenuModelRegistry): void;
13 private isElectron;
14}
15//# sourceMappingURL=window-contribution.d.ts.map
\No newline at end of file