UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

28 lines 1.15 kB
import { Command, CommandExecutionContext, CommandReturn } from 'sprotty'; import { Action } from 'sprotty-protocol'; /** * Simple UpdateDepthMapAction fires the UpdateDepthMapModelCommand * is created whenever a updateModelAction or a setModelAction is present */ export interface UpdateDepthMapModelAction extends Action { kind: typeof UpdateDepthMapModelAction.KIND; } export declare namespace UpdateDepthMapModelAction { const KIND = "updateDepthMapModel"; function create(): UpdateDepthMapModelAction; } /** * UpdateModelCommand gets fired whenever a setModel or updateModel was executed */ export declare class UpdateDepthMapModelCommand extends Command { protected readonly action: UpdateDepthMapModelAction; static readonly KIND = "updateDepthMapModel"; constructor(action: UpdateDepthMapModelAction); execute(context: CommandExecutionContext): CommandReturn; /** * For undo and redo we don't want any changes to the model */ undo(context: CommandExecutionContext): CommandReturn; redo(context: CommandExecutionContext): CommandReturn; } //# sourceMappingURL=update-depthmap-model.d.ts.map