Switch to side-by-side view

--- a/tool/src/script/Plugin.java
+++ b/tool/src/script/Plugin.java
@@ -52,6 +52,9 @@
           settings = new Settings(settingsFile, "Settings for this folder");
      }
      
+     public TreeNodeSPDX
+             thisNode = null; // our pointer for the treeview node (if used)
+     
      
      public void startup(){
      }
@@ -61,9 +64,9 @@
                  + "There is nothing (yet) to be displayed on this page.");
      }
      
-     /**
-      * Adds a tree node on the default User Interface when desired by the
-      * plugin
+    /**
+     * Adds a tree node on the default User Interface when desired by the
+     * plugin
      * @param title Title for the tree node that is shown to user
      * @param iconName Icon from our archive that is used for the node
      * @param methodName The method that is called when the node is clicked
@@ -73,16 +76,38 @@
      // get the saved node on our temporary storage
         TreeNodeSPDX nodeRoot = (TreeNodeSPDX) core.temp.get("nodeTree");
         // add it up to our tree
-        TreeNodeSPDX node = swingUtils.addNode(title, iconName, nodeRoot);
+        thisNode = swingUtils.addNode(title, iconName, nodeRoot);
         // set the associated script that we want to run
-        node.scriptFile = thisFile;
-        node.scriptFolder = thisFolder;
-        node.scriptMethod = methodName;
+        thisNode.scriptFile = thisFile;
+        thisNode.scriptFolder = thisFolder;
+        thisNode.scriptMethod = methodName;
         
         // all done
         log.write(is.COMPLETED, "Added tool: %1", title);
      }
  
+     
+     /**
+      * Adds a child node on the default User Interface when desired by the
+      * plugin
+      * @param title Title for the tree node that is shown to user
+      * @param iconName Icon from our archive that is used for the node
+      * @param methodName The method that is called when the node is clicked
+      */
+     protected void addChildNode(String title, String iconName, 
+             String methodName){
+         // we need that a root node exists
+         if(thisNode == null){
+             return;
+         }
+         
+        // add it up 
+        TreeNodeSPDX node = swingUtils.addNode(title, iconName, thisNode);
+        // set the associated script that we want to run
+        node.scriptFile = thisFile;
+        node.scriptFolder = thisFolder;
+        node.scriptMethod = methodName;
+     }
      
      /**
       * Loads a given template file from the local folder. This template file