mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-310 - Graphing - Updated mouse handling to be consistent with other graph widgets.
This commit is contained in:
parent
956e8ef342
commit
d9a1c8906f
43 changed files with 1468 additions and 474 deletions
|
@ -72,10 +72,11 @@ public class GraphServicesScreenShots extends GhidraScreenShotGenerator {
|
|||
AttributedEdge e2 = graph.addEdge(v1, v3);
|
||||
e2.setAttribute("EdgeType", "Unconditional-Call");
|
||||
|
||||
display.setGraph(graph, "test", false, TaskMonitor.DUMMY);
|
||||
display.setGraph(graph, "Program Graph", false, TaskMonitor.DUMMY);
|
||||
waitForSwing();
|
||||
setGraphWindowSize(700, 500);
|
||||
((DefaultGraphDisplay) display).centerAndScale();
|
||||
runSwing(() -> ((DefaultGraphDisplay) display).centerAndScale());
|
||||
waitForSwing();
|
||||
|
||||
captureProvider(DefaultGraphDisplayComponentProvider.class);
|
||||
}
|
||||
|
@ -95,7 +96,7 @@ public class GraphServicesScreenShots extends GhidraScreenShotGenerator {
|
|||
provider.getComponent().requestFocus();
|
||||
paintFix(window);
|
||||
});
|
||||
|
||||
waitForSwing();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue