enableListening(config.getScanAddOn(), true);
switch (config.getType()) {
case SCAN_1D:
Config1DModel configModel = (Config1DModel) config;
configModel.addListener(listenerConfig1D);
for (ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).addListener(listenerSensor);
}
Dimension1DModel dimension1DModel = (Dimension1DModel) configModel
.getDimensionX();