UNPKG

@eclipse-glsp/theia-integration

Version:

Glue code to integrate GLSP clients into Eclipse Theia

21 lines 939 B
import { ApplicationShell } from '@theia/core/lib/browser'; import { CommandContribution, CommandRegistry, MenuContribution, MenuModelRegistry, MenuPath } from '@theia/core/lib/common'; export declare namespace GLSPDiagramCommands { const CENTER = "glsp.diagram:center"; const FIT = "glsp.diagram:fit"; const EXPORT = "glsp.diagram:export"; const SELECT_ALL = "glsp.diagram.selectAll"; const DELETE = "glsp.diagram.delete"; const LAYOUT = "glsp.diagram.layout"; } export declare namespace GLSPDiagramMenus { const DIAGRAM: MenuPath; } export declare class GLSPDiagramMenuContribution implements MenuContribution { registerMenus(registry: MenuModelRegistry): void; } export declare class GLSPDiagramCommandContribution implements CommandContribution { protected readonly shell: ApplicationShell; registerCommands(registry: CommandRegistry): void; } //# sourceMappingURL=glsp-diagram-commands.d.ts.map