UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

52 lines 1.82 kB
"use strict"; /* * KIELER - Kiel Integrated Environment for Layout Eclipse RichClient * * http://rtsys.informatik.uni-kiel.de/kieler * * Copyright 2021 by * + Kiel University * + Department of Computer Science * + Real-Time and Embedded Systems Group * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-License-Identifier: EPL-2.0 */ // We follow Sprotty's way of redeclaring the interface and its create function, so disable this lint check for this file. /* eslint-disable no-redeclare */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SetSynthesisAction = exports.SetSynthesesAction = void 0; var SetSynthesesAction; (function (SetSynthesesAction) { SetSynthesesAction.KIND = 'setSyntheses'; function create(syntheses) { return { kind: SetSynthesesAction.KIND, syntheses, }; } SetSynthesesAction.create = create; function isThisAction(action) { return action.kind === SetSynthesesAction.KIND; } SetSynthesesAction.isThisAction = isThisAction; })(SetSynthesesAction || (exports.SetSynthesesAction = SetSynthesesAction = {})); var SetSynthesisAction; (function (SetSynthesisAction) { SetSynthesisAction.KIND = 'setSynthesis'; function create(id) { return { kind: SetSynthesisAction.KIND, id, }; } SetSynthesisAction.create = create; function isThisAction(action) { return action.kind === SetSynthesisAction.KIND; } SetSynthesisAction.isThisAction = isThisAction; })(SetSynthesisAction || (exports.SetSynthesisAction = SetSynthesisAction = {})); //# sourceMappingURL=actions.js.map