Examples of SalsaDAOFactory


Examples of fr.soleil.salsa.comete.SalsaDAOFactory

    @Override
    protected void initBeforeSetView() {
        super.initBeforeSetView();
        PeriodicRefreshUpdater.getInstance().setErrorController(errorController);
        SalsaDAOFactory factory = (SalsaDAOFactory) DAOFactoryManager
                .registerFactory(SalsaDAOFactory.class.getName());
        factory.setErrorController(errorController);
        startStopController = new StartStopController(this, errorController);
        shortcutsController = new ShortcutsController(this);
        generalShortcutsToolBarController = new GeneralShortcutsToolBarController();
        sensorsListController = new SensorListController(null, errorController);
        actuatorsListController = new ActuatorListController(null, errorController);
View Full Code Here

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

        super.setErrorController(errorController);
        if (view != null) {
            view.setErrorView(errorController == null ? null : errorController.getView());
        }
        PeriodicRefreshUpdater.getInstance().setErrorController(errorController);
        SalsaDAOFactory factory = (SalsaDAOFactory) DAOFactoryManager
                .registerFactory(SalsaDAOFactory.class.getName());
        factory.setErrorController(errorController);
        startStopController.setErrorController(errorController);
        sensorsListController.setErrorController(errorController);
        actuatorsListController.setErrorController(errorController);
        scanResultController.setErrorController(errorController);
        historicController.setErrorController(errorController);
View Full Code Here

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

        final boolean isScanConfig = sameConfig(config, scanConfig);

        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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

    @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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

     */
    public ApplicationController() throws Exception {
        super(new ErrorController());

        PeriodicRefreshUpdater.getInstance().setErrorController(errorController);
        SalsaDAOFactory factory = (SalsaDAOFactory) DAOFactoryManager
                .registerFactory(SalsaDAOFactory.class.getName());
        factory.setErrorController(errorController);
        startStopController = new StartStopController(this);
        shortcutsController = new ShortcutsController(this);
        generalShortcutsToolBarController = new GeneralShortcutsToolBarController();
        sensorsListController = new SensorsListController(null, errorController);
        actuatorsListController = new ActuatorsListController(errorController);
View Full Code Here

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

        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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

    @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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

        final boolean isScanConfig = sameConfig(config, scanConfig);

        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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

    @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

Examples of fr.soleil.salsa.comete.SalsaDAOFactory

            final List<String> y1AxisComponents, final List<String> y2AxisComponents,
            final 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
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.