Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GT-3233-dragonmacher-fg-navigation-history' (closes #1115)
Ryan Kurtzf5aeb0c70d4b
diff --cc Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/FunctionGraphPluginScreenShots.javaindex e7b1ecc66d,e7b1ecc66d..811e2cd876--- a/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/FunctionGraphPluginScreenShots.java+++ b/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/FunctionGraphPluginScreenShots.java@@@ -15,7 -15,7 +15,7 @@@*/package help.screenshot;--import static org.junit.Assert.assertNotNull;++import static org.junit.Assert.*;import java.awt.*;import java.awt.geom.Point2D;@@@ -40,7 -40,7 +40,6 @@@ import docking.widgets.dialogs.MultiLinimport edu.uci.ics.jung.graph.Graph;import edu.uci.ics.jung.visualization.VisualizationServer;import edu.uci.ics.jung.visualization.VisualizationViewer;--import edu.uci.ics.jung.visualization.picking.PickedState;import generic.test.TestUtils;import ghidra.app.cmd.function.DeleteFunctionCmd;import ghidra.app.cmd.label.AddLabelCmd;@@@ -774,24 -774,24 +773,6 @@@ public class FunctionGraphPluginScreenSpickVertices(new HashSet<>(Arrays.asList(vertices)));}-- private void pickVertices(final Set<FGVertex> vertices) {-- runSwing(() -> {-- PickedState<FGVertex> pickedState = getPickedState();-- pickedState.clear();---- for (FGVertex vertex : vertices) {-- pickedState.pick(vertex, true);-- }-- });-- }---- private PickedState<FGVertex> getPickedState() {-- FGComponent functionGraphViewer = getGraphComponent();-- VisualizationViewer<FGVertex, FGEdge> primaryViewer =-- functionGraphViewer.getPrimaryViewer();-- return primaryViewer.getPickedVertexState();-- }--private JComponent getComponent(final FGVertex vertex) {final AtomicReference<JComponent> reference = new AtomicReference<>();runSwing(() -> reference.set(vertex.getComponent()));