mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-2875 Split Generic module into two modules to remove Gui related code from the generic module
This commit is contained in:
parent
522bda39e8
commit
56fcce1456
228 changed files with 1652 additions and 1572 deletions
|
@ -22,7 +22,7 @@ import javax.swing.tree.TreeModel;
|
|||
import javax.swing.tree.TreePath;
|
||||
|
||||
import docking.widgets.tree.GTreeNode;
|
||||
import generic.test.AbstractGenericTest;
|
||||
import generic.test.AbstractGuiTest;
|
||||
|
||||
public class TreeTestUtils {
|
||||
public static TreePath findTreePathToText(JTree tree, String text) {
|
||||
|
@ -57,7 +57,7 @@ public class TreeTestUtils {
|
|||
*/
|
||||
public static void selectTreeNodeByText(final JTree tree, final String text) {
|
||||
|
||||
AbstractGenericTest.runSwing(new Runnable() {
|
||||
AbstractGuiTest.runSwing(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
TreePath path = findTreePathToText(tree, text);
|
||||
|
@ -68,9 +68,9 @@ public class TreeTestUtils {
|
|||
}
|
||||
});
|
||||
|
||||
AbstractGenericTest.waitForSwing();
|
||||
AbstractGuiTest.waitForSwing();
|
||||
|
||||
AbstractGenericTest.runSwing(new Runnable() {
|
||||
AbstractGuiTest.runSwing(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
TreePath path = findTreePathToText(tree, text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue