Package fr.soleil.salsa.entity.impl.scan1d

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl


        for (Configuration c : configs) {
            String type = c.getType();
            IConfig<?> scan = null;
            if (type.equals("Config1DImpl") || type.equals("Config1D")) {
                scan = new Config1DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_1D);
            }
            else if (type.equals("Config2DImpl") || type.equals("Config2D")) {
                scan = new Config2DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_2D);
View Full Code Here


                currentDirectory = rootDirectory;
            }
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    IConfig<?> tmp = new Config1DImpl();
                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
View Full Code Here

                currentDirectory = rootDirectory;
            }
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    IConfig<?> tmp = new Config1DImpl();
                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
View Full Code Here

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

                currentDirectory = rootDirectory;
            }
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    IConfig<?> tmp = new Config1DImpl();
                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
View Full Code Here

        if ((configName != null) && (!configName.trim().isEmpty()) && (type != null)) {
            IConfig<?> config;
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
View Full Code Here

        for (Configuration c : configs) {
            String type = c.getType();
            IConfig<?> scan = null;
            if (type.equals("Config1DImpl") || type.equals("Config1D")) {
                scan = new Config1DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_1D);
            }
            else if (type.equals("Config2DImpl") || type.equals("Config2D")) {
                scan = new Config2DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_2D);
View Full Code Here

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

        if ((configName != null) && (!configName.trim().isEmpty()) && (type != null)) {
            IConfig<?> config;
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
View Full Code Here

                currentDirectory = rootDirectory;
            }
            IConfig configModel = null;
            switch (type) {
                case SCAN_1D:
                    IConfig tmp = new Config1DImpl();
                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

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.