String key = null;
String label = null;
// build TangoKey and register Key
while (imageViewerIterator.hasNext()) {
key = imageViewerIterator.next();
final ImageViewer imageViewer = imageViewerMap.get(key);
imageKey = new TangoKey();
TangoKeyTool.registerAttribute(imageKey, scanServerDeviceName, key);
label = CurrentScanDataModel.getAttributeLabel(scanServerDeviceName, key);
imageViewer.setImageName(label);
imageBox.setSynchronTransmission(imageViewer, true);
imageBox.connectWidget(imageViewer, imageKey);
setRefreshingPeriod(imageKey);
setxAttributeName(xAttributeName);
setyAttributeName(xAttributeName);
if (imageProp != null && label != null) {
final ImageProperties property = imageProp.get(label.toLowerCase());
if (property != null) {
imageViewer.setImageProperties(property);
}
}
imageBox.setSynchronTransmission(imageViewer, false);
}
refreshComboBox();