Package fr.soleil.salsa.entity

Examples of fr.soleil.salsa.entity.IScanAddOns


        return this.baseBean.getScanAddOn();
    }

    @Override
    public void setScanAddOn(IScanAddOns scanAddOn) {
        IScanAddOns oldValue = this.baseBean.getScanAddOn();
        this.baseBean.setScanAddOn(scanAddOn);
        this.firePropertyChange("scanAddOn", oldValue, scanAddOn);
        setModified(true);

    }
View Full Code Here


    private IDisplay getDisplay(IConfig<?> aconfig) {
        if (aconfig == null) {
            return null;
        }

        IScanAddOns scanAddOn = aconfig.getScanAddOn();
        if (scanAddOn == null) {
            return null;
        }

        return scanAddOn.getDisplay();
    }
View Full Code Here

                }
                display.setAxisList(axisList);
            }

            if (config != null) {
                IScanAddOns scanAddOns = config.getScanAddOn();
                if (scanAddOns != null) {
                    scanAddOns.setDisplay(display);
                }
                config.setScanAddOn(scanAddOns);
                config.setModified(true);
            }
        }
View Full Code Here

        return this.baseBean.getScanAddOn();
    }

    @Override
    public void setScanAddOn(IScanAddOns scanAddOn) {
        IScanAddOns oldValue = this.baseBean.getScanAddOn();
        this.baseBean.setScanAddOn(scanAddOn);
        this.firePropertyChange("scanAddOn", oldValue, scanAddOn);
        setModified(true);
    }
View Full Code Here

                List<ITimebase> timeBaseList = getTimebaseList();
                List<ITimebase> timeBaseListModel = convertTimeBaseListToModel(timeBaseList);
                model.setTimebaseList(timeBaseListModel);

                IScanAddOns scanAddOnIm = getScanAddOn();
                if (scanAddOnIm != null) {
                    model.setScanAddOn(scanAddOnIm.toModel());
                }
            }
        }
        return model;
    }
View Full Code Here

                // Set the Y trajectories
                initTrajectories(2, dimensionY, actuatorList2);
            }

            // ScanAddOn
            IScanAddOns scanAddOns = newConfig.getScanAddOn();
            if (scanAddOns == null) {
                scanAddOns = new ScanAddOnImp();
            }

            IErrorStrategy errorStrategy = scanAddOns.getErrorStrategy();
            String contextValidation = CurrentConfigurationParser.readContextValidation(scanServer);
            if (contextValidation != null && !contextValidation.isEmpty()) {
                errorStrategy.setContextValidationDevice(contextValidation);
                int strategy = CurrentConfigurationParser.readErrorStrategy(scanServer,
                        CurrentScanDataModel.CONTEXT_VALIDATION);
View Full Code Here

        errorStrategy = null;
        dberrorStrategy = null;
        if (config != null) {
            try {
                IConfig<?> dbconfig = SalsaAPI.getConfigById(config.getId(), true);
                IScanAddOns scanAddOns = dbconfig.getScanAddOn();
                if (scanAddOns != null) {
                    dberrorStrategy = scanAddOns.getErrorStrategy();
                }
            } catch (ScanNotFoundException e) {
            }

            IScanAddOns scanAddOns = config.getScanAddOn();
            if (scanAddOns == null) {
                scanAddOns = new ScanAddOnModel();
                config.setScanAddOn(scanAddOns);
            }

            errorStrategy = scanAddOns.getErrorStrategy();
            if (errorStrategy == null) {
                errorStrategy = new ErrorStrategyModel();
                scanAddOns.setErrorStrategy(errorStrategy);
                errorStrategy.setContextValidationStrategy(ErrorStrategyType.IGNORE);
                errorStrategy.setContextValidationDevice(CONTEXT_VALIDATION_ATTRIBUTE_DEFAULT);
            }

            if (errorStrategy.getActuatorsErrorStrategy() == null) {
View Full Code Here

        }
    }

    private IPostScanBehaviour getPostScanBehaviour(IConfig<?> aconfig) {
        IPostScanBehaviour postScanBehaviour = null;
        IScanAddOns addOn = getScanAddOn(aconfig);
        if (addOn != null) {
            postScanBehaviour = addOn.getPostScanBehaviour();
        }
        return postScanBehaviour;
    }
View Full Code Here

        }
        return postScanBehaviour;
    }

    private IScanAddOns getScanAddOn(IConfig<?> aconfig) {
        IScanAddOns addOn = null;
        if (aconfig != null) {
            addOn = aconfig.getScanAddOn();
        }
        return addOn;
    }
View Full Code Here

        return this.baseBean.getScanAddOn();
    }

    @Override
    public void setScanAddOn(IScanAddOns scanAddOn) {
        IScanAddOns oldValue = this.baseBean.getScanAddOn();
        this.baseBean.setScanAddOn(scanAddOn);
        this.firePropertyChange("scanAddOn", oldValue, scanAddOn);

    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.IScanAddOns

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.