}
}
}
private void connectViewer(final IChartViewer viewer) {
TangoKey keyX = new TangoKey();
TangoKeyTool.registerAttribute(keyX, DEVICE, "double_spectrum");
TangoKey keyY1 = new TangoKey();
TangoKeyTool.registerAttribute(keyY1, DEVICE, "float_spectrum");
TangoKey keyY2 = new TangoKey();
TangoKeyTool.registerAttribute(keyY2, DEVICE, "long_spectrum");
TangoKey keyY3 = new TangoKey();
TangoKeyTool.registerAttribute(keyY3, DEVICE, "double_image");
TangoKey keyY4 = new TangoKey();
TangoKeyTool.registerAttribute(keyY4, "ICA/SALSA/SCAN.2", "actuator_1_1");
TangoKey keyY5 = new TangoKey();
TangoKeyTool.registerAttribute(keyY5, "ICA/SALSA/SCAN.2", "actuator_2_1");
TangoKey keyY6 = new TangoKey();
TangoKeyTool.registerAttribute(keyY6, "ICA/SALSA/SCAN.1", "data_01");
chartBox.connectWidget(viewer, keyY6);
TangoKey keyY7 = new TangoKey();
TangoKeyTool.registerAttribute(keyY7, "ICA/SALSA/SCAN.1", "sensorsTimestamps");
chartBox.connectWidgetDual(viewer, keyY7, keyY6);
viewer.setAxisLabelFormat(IChartViewer.TIME_FORMAT, IChartViewer.X);
viewer.setAxisDateFormat(IChartViewer.US_DATE_FORMAT, IChartViewer.X);