Package fr.soleil.salsa.comete.dao

Examples of fr.soleil.salsa.comete.dao.ScanResult2DDAO


        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));
        }
    }
View Full Code Here


    @Override
    public AbstractDAO<NumberMatrix> createNumberImageDAO(AbstractKey abstractKey) {
        AbstractDAO<NumberMatrix> dao = numberImageDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult2DKey) {
                dao = new ScanResult2DDAO(getErrorController());
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorImageDAO(((ActuatorKey) abstractKey).getActuator(),
                        getErrorController());
            }
View Full Code Here

    @Override
    public AbstractDAO<NumberMatrix> createNumberImageDAO(AbstractKey abstractKey) {
        AbstractDAO<NumberMatrix> dao = numberImageDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult2DKey) {
                dao = new ScanResult2DDAO(getErrorController());
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorImageDAO(((ActuatorKey) abstractKey).getActuator(),
                        getErrorController());
            }
View Full Code Here

        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));
        }
    }
View Full Code Here

        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));
        }
    }
View Full Code Here

        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);

        updateConfigDisplayAxis(convertAxis(axisList));
    }
View Full Code Here

        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);

        updateConfigDisplayAxis(convertAxis(axisList));
    }
View Full Code Here

        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));
        }
    }
View Full Code Here

    @Override
    public AbstractDAO<NumberMatrix> createNumberImageDAO(AbstractKey abstractKey) {
        AbstractDAO<NumberMatrix> dao = numberImageDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult2DKey) {
                dao = new ScanResult2DDAO(getErrorController());
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorImageDAO(((ActuatorKey) abstractKey).getActuator(),
                        getErrorController());
            }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.comete.dao.ScanResult2DDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.