Package org.woped.metrics.metricsCalculation

Examples of org.woped.metrics.metricsCalculation.MetricsUIRequestHandler


        + "SideBar.Header"));
    metricsLabel.setFont(HEADER_FONT);
    metricsLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 0));

    // create an instance of the ui request handler
    setUiHandler(new MetricsUIRequestHandler(editor));
    // gets the metric categories
    List<String> groups = getUiHandler().getMetricGroups();

    metrics = new JPanel(new BorderLayout());
    // create a combobox to select a metric category
View Full Code Here


          if(pr.run(new FileInputStream(f),false))
            edit = pr.getEditor()[0];
          else if(oldpr.run(new FileInputStream(f),false))
            edit = oldpr.getEditor()[0];
          else continue;
          MetricsUIRequestHandler ui = new MetricsUIRequestHandler(edit);
          for(String metric:metricsList){
            StringPair result;
            if(metric != null)
              result = ui.calculateSingle(metricsConfig, metric);
            else
              result = new StringPair("","");
            write.write(","+result.getValue());
          }
          write.write("\r\n");
View Full Code Here

TOP

Related Classes of org.woped.metrics.metricsCalculation.MetricsUIRequestHandler

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.