Examples of ScanResult1DDAO


Examples of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO

        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()
                + y2AxisComponents.size());
        yAxisComponents.addAll(y1AxisComponents);
        yAxisComponents.addAll(y2AxisComponents);
        scanResult1DDAO.setYAxisComponents(yAxisComponents);

        applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
        applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

        if (xAxisComponent != null) {
View Full Code Here

Examples of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO

    @Override
    public AbstractDAO<List<DataArray>> createNumberDataArrayDAO(AbstractKey abstractKey) {
        AbstractDAO<List<DataArray>> dao = numberDataArrayDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult1DKey) {
                dao = new ScanResult1DDAO();
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorSpectrumDAO(((ActuatorKey) abstractKey).getActuator());
            }
            else if (abstractKey instanceof SensorKey) {
View Full Code Here

Examples of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO

            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()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
            applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

            if (xAxisComponent != null) {
View Full Code Here

Examples of fr.soleil.salsa.client.comete.dao.ScanResult1DDAO

            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()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            applicationController.getScanResultController().configureY1AxisList(y1AxisComponents);
            applicationController.getScanResultController().configureY2AxisList(y2AxisComponents);

            if (xAxisComponent != null) {
View Full Code Here

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

            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()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            if ((scanResultController != null) && (scanResultController.getView() != null)) {
                scanResultController.getView().configureY1AxisList(y1AxisComponents);
                scanResultController.getView().configureY2AxisList(y2AxisComponents);
View Full Code Here

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

    @Override
    public AbstractDAO<List<DataArray>> createNumberDataArrayDAO(AbstractKey abstractKey) {
        AbstractDAO<List<DataArray>> dao = numberDataArrayDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult1DKey) {
                dao = new ScanResult1DDAO(getErrorController());
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorSpectrumDAO(((ActuatorKey) abstractKey).getActuator(),
                        getErrorController());
            }
View Full Code Here

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

    @Override
    public AbstractDAO<List<DataArray>> createNumberDataArrayDAO(AbstractKey abstractKey) {
        AbstractDAO<List<DataArray>> dao = numberDataArrayDAOCache.lookup(abstractKey);
        if (dao == null) {
            if (abstractKey instanceof ScanResult1DKey) {
                dao = new ScanResult1DDAO(getErrorController());
            }
            else if (abstractKey instanceof ActuatorKey) {
                dao = new ActuatorSpectrumDAO(((ActuatorKey) abstractKey).getActuator(),
                        getErrorController());
            }
View Full Code Here

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

        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()
                + y2AxisComponents.size());
        yAxisComponents.addAll(y1AxisComponents);
        yAxisComponents.addAll(y2AxisComponents);
        scanResult1DDAO.setYAxisComponents(yAxisComponents);

        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                if ((scanResultController != null) && (scanResultController.getView() != null)) {
View Full Code Here

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

            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()
                    + y2AxisComponents.size());
            yAxisComponents.addAll(y1AxisComponents);
            yAxisComponents.addAll(y2AxisComponents);
            scanResult1DDAO.setYAxisComponents(yAxisComponents);

            if ((scanResultController != null) && (scanResultController.getView() != null)) {
                scanResultController.getView().configureY1AxisList(y1AxisComponents);
                scanResultController.getView().configureY2AxisList(y2AxisComponents);
View Full Code Here

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

        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()
                + y2AxisComponents.size());
        yAxisComponents.addAll(y1AxisComponents);
        yAxisComponents.addAll(y2AxisComponents);
        scanResult1DDAO.setYAxisComponents(yAxisComponents);

        boolean configDisplayUpdated = false;
        if (config != null) {
            updateConfigDisplayAxis(convertAxis(axisList));
            if (config instanceof ISpectrumConfig<?>) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.