@eclipse-glsp/theia-integration
Version:
Glue code to integrate GLSP clients into Eclipse Theia
27 lines • 1.37 kB
TypeScript
import { ApplicationShell, QuickInputService } from '@theia/core/lib/browser';
import { CommandContribution, CommandRegistry, MenuContribution, MenuModelRegistry, MenuPath, MessageService } from '@theia/core/lib/common';
import { FileDialogService } from '@theia/filesystem/lib/browser/file-dialog/file-dialog-service';
import { FileService } from '@theia/filesystem/lib/browser/file-service';
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;
protected readonly fileService: FileService;
protected readonly fileDialogService: FileDialogService;
protected readonly quickInputService: QuickInputService;
protected readonly messageService: MessageService;
registerCommands(registry: CommandRegistry): void;
}
//# sourceMappingURL=glsp-diagram-commands.d.ts.map