Package fr.soleil.salsa.client.comete

Examples of fr.soleil.salsa.client.comete.SalsaDAOFactory


    public void notify1DAxisValuesChange(String xAxisComponent, List<String> y1AxisComponents,
            List<String> y2AxisComponents, List<Axis> axisList) {

        String factoryClassName = SalsaDAOFactory.class.getName();
        AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
        SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

        AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
        AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
        .createNumberDataArrayDAO(scanResult1DKey);
        ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

        scanResult1DDAO.setXAxisComponent(xAxisComponent);
        List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
View Full Code Here


    public void notify2DAxisValuesChange(String xAxisComponent, String yAxisComponent,
            String zAxisComponent, List<Axis> axisList) {

        String factoryClassName = SalsaDAOFactory.class.getName();
        AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
        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);
View Full Code Here

        boolean isScanConfig = sameConfig(config, scanConfig);

        if (isScanConfig || (!scanRunning)) {
            String factoryClassName = SalsaDAOFactory.class.getName();
            AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
            SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

            AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
            AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
                    .createNumberDataArrayDAO(scanResult1DKey);
            ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

            scanResult1DDAO.setXAxisComponent(xAxisComponent);
            List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
View Full Code Here

    @Override
    public void notify2DAxisValuesChange(String xAxisComponent, String yAxisComponent,
            String zAxisComponent, List<Axis> axisList) {
        String factoryClassName = SalsaDAOFactory.class.getName();
        AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
        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);
View Full Code Here

        boolean isScanConfig = sameConfig(config, scanConfig);

        if (isScanConfig || (!scanRunning)) {
            String factoryClassName = SalsaDAOFactory.class.getName();
            AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
            SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;

            AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
            AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
                    .createNumberDataArrayDAO(scanResult1DKey);
            ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;

            scanResult1DDAO.setXAxisComponent(xAxisComponent);
            List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
View Full Code Here

    @Override
    public void notify2DAxisValuesChange(String xAxisComponent, String yAxisComponent,
            String zAxisComponent, List<Axis> axisList) {
        String factoryClassName = SalsaDAOFactory.class.getName();
        AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
        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);
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.comete.SalsaDAOFactory

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.