Package fr.soleil.salsa.entity.impl.scanenergy

Examples of fr.soleil.salsa.entity.impl.scanenergy.ConfigEnergyImpl


                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigK) config).setDimensionX(new DimensionKImpl());
                    break;

                case SCAN_ENERGY:
                    config = new ConfigEnergyImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigEnergy) config).setDimensionX(new DimensionEnergyImpl());
                    break;
View Full Code Here


            else if (type.equals("ConfigKImpl") || type.equals("ConfigK")) {
                scan = new ConfigKImpl();
                scan.setType(IConfig.ScanType.SCAN_K);
            }
            else if (type.equals("ConfigEnergyImpl") || type.equals("ConfigEnergy")) {
                scan = new ConfigEnergyImpl();
                scan.setType(IConfig.ScanType.SCAN_ENERGY);
            }
            // Former code
            // if (type.equals("Config1DImpl") || type.equals("Config1D")) {
            // scan = new ConfigImpl(); // new Config1D();
View Full Code Here

    /**
     * Default constructor, that creates a new instance of Config1DImpl and wraps it.
     */
    public ConfigEnergyModel() {
        this(new ConfigEnergyImpl());
    }
View Full Code Here

                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigK) config).setDimensionX(new DimensionKImpl());
                    break;

                case SCAN_ENERGY:
                    config = new ConfigEnergyImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigEnergy) config).setDimensionX(new DimensionEnergyImpl());
                    break;
View Full Code Here

            else if (type.equals("ConfigKImpl") || type.equals("ConfigK")) {
                scan = new ConfigKImpl();
                scan.setType(IConfig.ScanType.SCAN_K);
            }
            else if (type.equals("ConfigEnergyImpl") || type.equals("ConfigEnergy")) {
                scan = new ConfigEnergyImpl();
                scan.setType(IConfig.ScanType.SCAN_ENERGY);
            }
            // Former code
            // if (type.equals("Config1DImpl") || type.equals("Config1D")) {
            // scan = new ConfigImpl(); // new Config1D();
View Full Code Here

    /**
     * Default constructor, that creates a new instance of Config1DImpl and wraps it.
     */
    public ConfigEnergyModel() {
        this(new ConfigEnergyImpl());
    }
View Full Code Here

    /**
     * Default constructor, that creates a new instance of {@link ConfigEnergyImpl} and wraps it.
     */
    public ConfigEnergyModel() {
        this(new ConfigEnergyImpl());
    }
View Full Code Here

            else if (type.equals("ConfigKImpl") || type.equals("ConfigK")) {
                scan = new ConfigKImpl();
                scan.setType(IConfig.ScanType.SCAN_K);
            }
            else if (type.equals("ConfigEnergyImpl") || type.equals("ConfigEnergy")) {
                scan = new ConfigEnergyImpl();
                scan.setType(IConfig.ScanType.SCAN_ENERGY);
            }
            // Former code
            // if (type.equals("Config1DImpl") || type.equals("Config1D")) {
            // scan = new ConfigImpl(); // new Config1D();
View Full Code Here

                    tmpK.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigK) tmpK).setDimensionX(new DimensionKImpl());
                    configModel = wrap(tmpK);
                    break;
                case SCAN_ENERGY:
                    ConfigEnergyImpl tmpEnergy = new ConfigEnergyImpl();
                    tmpEnergy.setScanAddOn(new ScanAddOnImp());
                    tmpEnergy.getScanAddOn().setDisplay(new DisplayImpl());
                    tmpEnergy.setDimensionX(new DimensionEnergyImpl());

                    configModel = wrap(tmpEnergy);
                    break;
            }
            configModel.setName(configName);
View Full Code Here

                    tmpK.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfigK) tmpK).setDimensionX(new DimensionKImpl());
                    configModel = wrap(tmpK);
                    break;
                case SCAN_ENERGY:
                    ConfigEnergyImpl tmpEnergy = new ConfigEnergyImpl();
                    tmpEnergy.setScanAddOn(new ScanAddOnImp());
                    tmpEnergy.getScanAddOn().setDisplay(new DisplayImpl());
                    tmpEnergy.setDimensionX(new DimensionEnergyImpl());

                    configModel = wrap(tmpEnergy);
                    break;
            }
            configModel.setName(configName);
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scanenergy.ConfigEnergyImpl

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.