Package fr.soleil.lib.flyscan.model.parsing.configuration

Examples of fr.soleil.lib.flyscan.model.parsing.configuration.Configuration


        content[100] = "parameter:value:bool_list = [False, True, False, True]";
        content[101] = "parameter:value:num_scalar_2 = 30";
        content[102] = "-";

        ConfigParser configParser = ConfigParser.getInstance();
        Configuration configuration = configParser.parse("configTest", content);

        assertNotNull(configuration);

        ActorSection actorSection = null;
        for (Section s : configuration.getSections()) {
            if (s instanceof ActorSection) {
                actorSection = (ActorSection) s;
            }
        }
View Full Code Here


            super();
        }

        @Override
        public void setText(String text) {
            Configuration configuration = getCurrentConfiguration();

            Map<ScanType, int[]> typesAndDimensionsMap = getTypeAndScanDimensions(configuration);
            ScanType scanType = null;
            int[] dimensions = null;
            if (typesAndDimensionsMap.isEmpty()) {
View Full Code Here

     *
     * @param index int
     * @return Configuration
     */
    public Configuration getConfiguration(int index) {
        Configuration config = null;
        Component component = getTabComponentAt(index);
        CloseSaveButtonTab closeSaveButtonTab = (CloseSaveButtonTab) component;
        if (closeSaveButtonTab != null) {
            config = closeSaveButtonTab.getConfigurationGUI().getConfiguration();
        }
View Full Code Here

TOP

Related Classes of fr.soleil.lib.flyscan.model.parsing.configuration.Configuration

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.