--- a/tool/src/GUI/StudioUI2.java
+++ b/tool/src/GUI/StudioUI2.java
@@ -30,6 +30,7 @@
import javax.swing.event.HyperlinkListener;
import javax.swing.text.html.FormSubmitEvent;
import javax.swing.text.html.HTMLEditorKit;
+import main.actions;
import main.controller;
import script.RunPlugins;
import script.log;
@@ -308,9 +309,14 @@
// End of variables declaration//GEN-END:variables
public void doSettings() {
- swingUtils.populateTree(tree);
-
-
+ //swingUtils.populateTree(tree);
+
+ // the basic root node that is always needed
+ swingUtils.nodeAddRoot(tree);
+
+ // now add all products that we can find
+ actions.addTreeSPDX(tree);
+
// set our first product as the default thing when adding
// more components from the library
@@ -354,7 +360,7 @@
jScrollPane2.setViewportView(text);
// change our title
- this.setTitle("TripleCheck");
+ setTitle("TripleCheck");
doFrontScreen();
}
@@ -634,6 +640,7 @@
newRequest.scriptFile = node.scriptFile;
newRequest.scriptFolder = node.scriptFolder;
newRequest.scriptMethod = node.scriptMethod;
+ newRequest.parameters = node.scriptParameters;
//newRequest.addParameter("method", node.scriptMethod);
controller.process(newRequest);
}