소스 검색

actually committed the metric change (see previous commit)

jascha Bohne 8 년 전
부모
커밋
da9ca13ef3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/metrics/ScopvizGraphMetric.java

+ 2 - 1
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/metrics/ScopvizGraphMetric.java

@@ -5,6 +5,7 @@ import java.util.LinkedList;
 import javax.swing.text.TableView.TableRow;
 
 import de.tu_darmstadt.informatik.tk.scopviz.main.MyGraph;
+import javafx.util.Pair;
 
 public interface ScopvizGraphMetric {
 
@@ -15,7 +16,7 @@ public interface ScopvizGraphMetric {
 	 *            a MyGraph
 	 * @return a List of tableRows that will be displayed in the metrics window
 	 */
-	public LinkedList<TableRow> calculate(MyGraph g);
+	public LinkedList<Pair<String, String>> calculate(MyGraph g);
 
 	/**
 	 * returns the name of the Metric which will be displayed above the values.