Search in sources :

Example 1 with TraceWidgetProperty

use of org.csstudio.display.builder.model.widgets.plots.PlotWidgetProperties.TraceWidgetProperty in project org.csstudio.display.builder by kasemir.

the class XYPlotWidgetRuntime method start.

@Override
public void start() throws Exception {
    super.start();
    for (TraceWidgetProperty trace : widget.propTraces().getValue()) {
        bindings.add(new PVNameToValueBinding(this, trace.traceXPV(), trace.traceXValue()));
        bindings.add(new PVNameToValueBinding(this, trace.traceYPV(), trace.traceYValue()));
        bindings.add(new PVNameToValueBinding(this, trace.traceErrorPV(), trace.traceErrorValue()));
    }
    for (MarkerProperty marker : widget.propMarkers().getValue()) bindMarker(marker.pv(), marker.value());
}
Also used : TraceWidgetProperty(org.csstudio.display.builder.model.widgets.plots.PlotWidgetProperties.TraceWidgetProperty) PVNameToValueBinding(org.csstudio.display.builder.runtime.PVNameToValueBinding) MarkerProperty(org.csstudio.display.builder.model.widgets.plots.XYPlotWidget.MarkerProperty)

Aggregations

TraceWidgetProperty (org.csstudio.display.builder.model.widgets.plots.PlotWidgetProperties.TraceWidgetProperty)1 MarkerProperty (org.csstudio.display.builder.model.widgets.plots.XYPlotWidget.MarkerProperty)1 PVNameToValueBinding (org.csstudio.display.builder.runtime.PVNameToValueBinding)1