/*
 * KIELER - Kiel Integrated Environment for Layout Eclipse RichClient
 *
 * http://rtsys.informatik.uni-kiel.de/kieler
 *
 * Copyright 2025 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
 */

import { SKGraphElement } from '@kieler/klighd-interactive/lib/constraint-classes'
import { KText } from '../skgraph-models'

export class SearchResult {
    element: SKGraphElement

    kText: KText | undefined

    displayText: string

    constructor(element: SKGraphElement, kText: KText | undefined, displayText: string) {
        this.element = element
        this.kText = kText
        this.displayText = displayText
    }
}
