if (newconfig != null) {
// System.out.println(newconfig.getFullPath());
// System.out.println(newconfig.isModified());
attributeNameList.clear();
IDisplay display = getDisplay(newconfig);
if (display != null) {
// long begin2 = System.currentTimeMillis();
List<DisplayAxis> axisList = display.getAxisList();
Iterator<DisplayAxis> iteratorAxis = axisList.listIterator();
List<ISensor> sensorList = newconfig.getSensorsList();
List<IActuator> actuatorList = newconfig.getActuatorList();
// long end2 = System.currentTimeMillis();
// System.out.println("Display Extraction= " + (end2 - begin2));
// long begin3 = System.currentTimeMillis();
if (sensorList != null) {
initSavedAxis(sensorList, iteratorAxis, true);
}
// long end3 = System.currentTimeMillis();
// System.out.println("Init Saved Axis sensor= " + (end3 - begin3));
// long begin4 = System.currentTimeMillis();
if (actuatorList != null) {
initSavedAxis(actuatorList, iteratorAxis, false);
}
// long end4 = System.currentTimeMillis();
// System.out.println("Init Saved Axis actuator= " + (end4 - begin4));
// Check if it is a timebase
if (display.isTimeBase()) {
super.setActuatorName(CurrentScanDataModel.SENSORS_TIMESTAMPS);
}
}
// refreshGUI();
config = newconfig;