Package org.woped.config.metrics

Examples of org.woped.config.metrics.WoPeDMetricsConfiguration


            ConfigurationManager.getConfiguration().setUseMetrics(useMetricsCheckBox.isSelected());
       
            // Load metrics configuration if check box is selected and
            // we do not have a non-static metrics configuration loaded yet
            if (useMetricsCheckBox.isSelected() && !ConfigurationManager.hasNonStaticMetricsConfiguration()) {
              WoPeDMetricsConfiguration metricsConfig = new WoPeDMetricsConfiguration();
              metricsConfig.initConfig();
              ConfigurationManager.setMetricsConfiguration(metricsConfig);
            }
       
            ConfigurationManager.getConfiguration().setAlgorithmDecimalPlaces(Integer.parseInt(algorithmDecimalPlacesSpinner.getModel().getValue().toString()));
            ConfigurationManager.getConfiguration().setVariableDecimalPlaces(Integer.parseInt(variableDecimalPlacesSpinner.getModel().getValue().toString()));
View Full Code Here


        getConfDocument().getConfiguration().addNewMetrics();
     
      // Check if metrics configuration should be loaded
      // and react accordingly
      if (getConfDocument().getConfiguration().getMetrics().getUseMetrics()) {
        WoPeDMetricsConfiguration metricsConfig = new WoPeDMetricsConfiguration();
        metricsConfig.initConfig();
        ConfigurationManager.setMetricsConfiguration(metricsConfig);
      }
    }
   
    return true;
View Full Code Here

TOP

Related Classes of org.woped.config.metrics.WoPeDMetricsConfiguration

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.