Examples of SalsaDAOFactory


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

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

    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.client.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.client.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.client.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.client.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

        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

     */
    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

    /**
     * Refresh the screen based on the datas.
     */
    private void refresh() {
        SalsaDAOFactory factory = (SalsaDAOFactory) DAOFactoryManager
                .registerFactory(SalsaDAOFactory.class.getName());
        IScanStatus ss = factory.getScanStatusDAO().getData();

        if (ss != null) {

            String status = ss.getStatus();
            this.status = status;
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.