SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;
AbstractKey scanResult2DKey = new ScanResult2DKey(factoryClassName);
AbstractDAO<NumberMatrix> numberMatrix = salsaDAOFactory
.createNumberImageDAO(scanResult2DKey);
ScanResult2DDAO scanResult2DDAO = (ScanResult2DDAO) numberMatrix;
scanResult2DDAO.setXAxisComponent(xAxisComponent);
scanResult2DDAO.setYAxisComponent(yAxisComponent);
scanResult2DDAO.setZAxisComponent(zAxisComponent);
if (config != null) {
config.getScanAddOn().getDisplay().setAxisList(convertAxis(axisList));
}
}