use of org.csstudio.javafx.rtplot.RTImagePlot in project org.csstudio.display.builder by kasemir.
the class ImageRepresentation method createJFXNode.
@Override
public Pane createJFXNode() throws Exception {
// Plot is only active in runtime mode, not edit mode
image_plot = new RTImagePlot(!toolkit.isEditMode());
image_plot.setUpdateThrottle(RepresentationUpdateThrottle.plot_update_delay, TimeUnit.MILLISECONDS);
image_plot.setAutoscale(false);
if (!toolkit.isEditMode()) {
// Create ROIs once. Not allowing adding/removing ROIs in runtime.
for (ROIWidgetProperty roi : model_widget.propROIs().getValue()) createROI(roi);
}
return new Pane(image_plot);
}
Aggregations