]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.graphical/src/org/simantics/debug/graphical/GraphicalDebugger.java
Some SCL functions to control graphical debugger
[simantics/platform.git] / bundles / org.simantics.debug.graphical / src / org / simantics / debug / graphical / GraphicalDebugger.java
index 7db2772b551ca0e6d58b646e0b9452e689be8d83..9091a27f98d6367d340b1927e111ee393a93703c 100644 (file)
@@ -11,7 +11,7 @@ import javax.swing.JFrame;
 
 public class GraphicalDebugger {
 
-    public static void newGraphDebugger() {
+    public static DebuggerCanvas newGraphDebugger() {
         final JFrame frame = new JFrame();
         frame.setTitle("Graph debugger");
         Toolkit tk = Toolkit.getDefaultToolkit();
@@ -52,6 +52,8 @@ public class GraphicalDebugger {
             
         });        
         frame.setVisible(true);
+        
+        return canvas;
     }
     
 }