UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

19 lines 709 B
import { ICommand } from 'sprotty'; import { Action } from 'sprotty-protocol'; import { Registry } from '../base/registry'; import { SetSynthesesActionData } from './actions'; /** * A simple {@link Registry} that holds a list of all available syntheses * as well as the currently selected synthesis. * * Handles SetSyntheses and SetSynthesis actions to keep the state in sync which * new events. */ export declare class SynthesesRegistry extends Registry { private _currentSynthesisID; private _syntheses; handle(action: Action): void | Action | ICommand; get syntheses(): SetSynthesesActionData[]; get currentSynthesisID(): string; } //# sourceMappingURL=syntheses-registry.d.ts.map