]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.graphical/scl/Simantics/GraphicalDebugger.scl
Introduce DebuggerCanvasProxy to avoid compile time AWT toolkit init
[simantics/platform.git] / bundles / org.simantics.debug.graphical / scl / Simantics / GraphicalDebugger.scl
index 490b481d4e18c98ed98b1c3535c0d9e1a9a96db5..0542beb1dad91186e0b646997d3e2a7e9ba4d6c6 100644 (file)
@@ -1,2 +1,11 @@
+import "Simantics/DB"
+
+importJava "org.simantics.debug.graphical.DebuggerCanvasProxy" where
+    data GraphDebugger
+
+    setStatementFilter :: GraphDebugger -> (Statement -> <ReadGraph,Proc> Boolean) -> <Proc> ()
+    removeStatementFilter :: GraphDebugger -> <Proc> ()
+    addResource :: GraphDebugger -> Resource -> <Proc> ()
+
 importJava "org.simantics.debug.graphical.GraphicalDebugger" where
-    newGraphDebugger :: <Proc> ()
\ No newline at end of file
+    newGraphDebugger :: <Proc> GraphDebugger
\ No newline at end of file