List<ISensor> sensors = config.getSensorsList();
view.clearSensors();
for (int i = 0; i < sensors.size(); i++) {
ISensor s = sensors.get(i);
SensorModel eSensort = (SensorModel) s;
eSensort.addListener(sensorListener);
view.addSensor(s.getName(), s.getName());
if (i == postScanBehaviour.getSensor()) {
view.setSensorSelected(i);
}
}