enableListening(config.getScanAddOn(), false);
switch (config.getType()) {
case SCAN_1D:
Config1DModel configModel = (Config1DModel) config;
configModel.removeListener(listenerConfig1D);
for(ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).removeListener(listenerSensor);
}
Dimension1DModel dimension1DModel = (Dimension1DModel) configModel.getDimensionX();
dimension1DModel.removeListener(listenerDimension1D);
for(IActuator actuator : dimension1DModel.getActuatorsList()) {
((ActuatorModel) actuator).removeListener(listenerActuator);
}
for(IRange1D range1D : dimension1DModel.getRangesXList()) {