UNPKG

@eclipse-glsp/client

Version:

A sprotty-based client for GLSP

39 lines 2.19 kB
/******************************************************************************** * Copyright (c) 2024 Axon Ivy AG and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available under the following Secondary * Licenses when the conditions for such availability set forth in the Eclipse * Public License v. 2.0 are satisfied: GNU General Public License, version 2 * with the GNU Classpath Exception which is available at * https://www.gnu.org/software/classpath/license.html. * * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 ********************************************************************************/ /** @jsx svg */ import { GModelElement, IVNodePostprocessor } from '@eclipse-glsp/sprotty'; import { VNode } from 'snabbdom'; import { GGraph } from '../../model'; import { BoundsAwareModelElement } from '../../utils/gmodel-util'; import { IDebugManager } from './debug-manager'; export declare const CSS_DEBUG_BOUNDS = "debug-bounds"; export declare class DebugBoundsDecorator implements IVNodePostprocessor { protected debugManager?: IDebugManager; decorate(vnode: VNode, element: GModelElement): VNode; postUpdate(): void; protected get decorationSize(): number; protected shouldDecorateGraph(graph: GGraph): boolean; protected decorateGraph(vnode: VNode, graph: GGraph): void; protected renderOrigin(graph: GGraph): VNode; protected shouldDecorateSizeable(element: BoundsAwareModelElement): boolean; protected decorateSizeable(vnode: VNode, element: BoundsAwareModelElement): void; protected renderTopLeftCorner(element: BoundsAwareModelElement): VNode; protected renderTopRightCorner(element: BoundsAwareModelElement): VNode; protected renderBottomLeftCorner(element: BoundsAwareModelElement): VNode; protected renderBottomRightCorner(element: BoundsAwareModelElement): VNode; protected renderCenter(element: BoundsAwareModelElement): VNode; } //# sourceMappingURL=debug-bounds-decorator.d.ts.map