attributeLabel.setText(newLabel);
// AttributeScalarInput
TangoKey tangoKey = new TangoKey();
String deviceName = TangoDAOFactory.getDeviceName(newLabel);
String entityName = TangoDAOFactory.getEntityName(newLabel);
tangoKey.registerAttribute(deviceName, entityName);
attributeRead.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
attributeField.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
}
private void switchFactory() {