UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

17 lines 772 B
import { ActionHandlerRegistry, IActionHandler, IActionHandlerInitializer, ICommand } from 'sprotty'; import { Action } from 'sprotty-protocol'; /** * {@link IActionHandler} that handles update actions for various options. * This handler persists the updates so they will still be available when a user * closes and reopens the diagram view. */ export declare class OptionsPersistence implements IActionHandler, IActionHandlerInitializer { private storage; private dispatcher; init(): void; initialize(registry: ActionHandlerRegistry): void; handle(action: Action): void | Action | ICommand; /** Reset all stored options when the storage gets cleared from outside. */ private handleClear; } //# sourceMappingURL=options-persistence.d.ts.map