• Treeview displays a tree-like structure for files when path information is available (missing to add treecount?)
  • charts are functioning on SPDX file level

nunobrito 2014-01-19

added /tool/docs/todo.txt
changed /tool/src/main/actions.java
changed /tool/run/plugins/basic/TreeNodeDetails.java
changed /tool/run/plugins/spdx/show.java
changed /tool/src/GUI/StudioUI4.form
changed /tool/run/plugins/basic/pluginSearch.java
changed /tool/src/definitions/definition.java
changed /tool/src/main/controller.java
changed /tool/src/spdxlib/DocumentCreate.java
changed /tool/src/GUI/TreeRenderer.java
changed /tool/run/translation/lang-EN.xml
changed /tool/src/GUI/StudioUI4.java
changed /tool/run/plugins/spdx/chart.png
changed /tool/run/products/jfreechart-1.0.17.tar.gz.spdx
copied /tool/src/main/Graphs.java -> /tool/src/utils/Graphs.java
/tool/docs/todo.txt Diff Switch to side-by-side view
Loading...
/tool/src/main/actions.java Diff Switch to side-by-side view
Loading...
/tool/run/plugins/basic/TreeNodeDetails.java Diff Switch to side-by-side view
Loading...
/tool/run/plugins/spdx/show.java Diff Switch to side-by-side view
Loading...
/tool/src/GUI/StudioUI4.form Diff Switch to side-by-side view
Loading...
/tool/run/plugins/basic/pluginSearch.java Diff Switch to side-by-side view
Loading...
/tool/src/definitions/definition.java Diff Switch to side-by-side view
Loading...
/tool/src/main/controller.java Diff Switch to side-by-side view
Loading...
/tool/src/spdxlib/DocumentCreate.java Diff Switch to side-by-side view
Loading...
/tool/src/GUI/TreeRenderer.java Diff Switch to side-by-side view
Loading...
/tool/run/translation/lang-EN.xml Diff Switch to side-by-side view
Loading...
/tool/src/GUI/StudioUI4.java Diff Switch to side-by-side view
Loading...
/tool/run/plugins/spdx/chart.png Diff Switch to side-by-side view
Loading...
/tool/run/products/jfreechart-1.0.17.tar.gz.spdx Diff Switch to side-by-side view
Loading...
/tool/src/main/Graphs.java to /tool/src/utils/Graphs.java
--- a/tool/src/main/Graphs.java
+++ b/tool/src/utils/Graphs.java
@@ -4,14 +4,13 @@
  * Creator: Organization: TripleCheck (contact@triplecheck.de)
  * Created: 2013-09-13T00:00:00Z
  * LicenseName: NOASSERTION
- * FileName: actions.java  
+ * FileName: Graphs.java  
  * FileType: SOURCE
  * FileCopyrightText: <text> Copyright 2013 Nuno Brito, TripleCheck </text>
- * FileComment: <text> A simple static class to provide default actions 
- * related to SPDX handling </text> 
+ * FileComment: <text> Outputs graphs as image files. </text> 
  */
 
-package main;
+package utils;
 
 import java.awt.Color;
 import java.io.File;
@@ -33,9 +32,9 @@
 public class Graphs {
     public static File generate(File baseFolder, String titles[], int[] values) {
         DefaultPieDataset dataset = new DefaultPieDataset();
-//        dataset.setValue("No license declared", 5);
-//        dataset.setValue("License declared", 3);
-       int i = -1;
+
+        // add our data values
+        int i = -1;
         for(String title : titles){
            i++;
            dataset.setValue(title, values[i]);
@@ -50,8 +49,8 @@
             true,                   // include legend
             true,
             false);
-        
-         PiePlot3D plot = (PiePlot3D) chart.getPlot();
+         
+        PiePlot3D plot = (PiePlot3D) chart.getPlot();
         //plot.setStartAngle(290);
         plot.setStartAngle(290);
         plot.setDirection(Rotation.CLOCKWISE);