2022-11-02 13:47:34 +01:00
|
|
|
import { UIEventSource } from "../Logic/UIEventSource"
|
|
|
|
import BaseUIElement from "./BaseUIElement"
|
|
|
|
import FeaturePipelineState from "../Logic/State/FeaturePipelineState"
|
|
|
|
import { DefaultGuiState } from "./DefaultGuiState"
|
2022-10-28 04:33:05 +02:00
|
|
|
|
|
|
|
export interface SpecialVisualization {
|
|
|
|
funcName: string
|
|
|
|
constr: (
|
2022-10-29 03:05:29 +02:00
|
|
|
state: FeaturePipelineState,
|
2022-10-28 04:33:05 +02:00
|
|
|
tagSource: UIEventSource<any>,
|
|
|
|
argument: string[],
|
2022-10-29 03:05:29 +02:00
|
|
|
guistate: DefaultGuiState
|
2022-10-28 04:33:05 +02:00
|
|
|
) => BaseUIElement
|
|
|
|
docs: string | BaseUIElement
|
|
|
|
example?: string
|
|
|
|
args: { name: string; defaultValue?: string; doc: string; required?: false | boolean }[]
|
|
|
|
getLayerDependencies?: (argument: string[]) => string[]
|
|
|
|
}
|