UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

23 lines 841 B
import { ICommand } from 'sprotty'; import { Action } from 'sprotty-protocol'; import { Registry } from '../base/registry'; import { Bookmark } from './bookmark'; /** * A simple {@link Registry} that holds a list of all added Bookmarks * * Handles CreateBookmark and GoToBookmark actions * */ export declare class BookmarkRegistry extends Registry { private renderOptionsRegistry; private _bookmarks; private _initialBookmark?; private count; handle(action: Action): void | Action | ICommand; protected addBookmark(bookmark: Bookmark): void; protected deleteBookmark(bookmarkIndex: number): void; protected updateBookmarkName(bookmarkIndex: number, newName: string): void; get initialBookmark(): Bookmark | undefined; get bookmarks(): Bookmark[]; } //# sourceMappingURL=bookmark-registry.d.ts.map