mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-2869 - Key Bindings - refactor of methods to provide all actions
This commit is contained in:
parent
c1de98304a
commit
43fa7e3f92
75 changed files with 1243 additions and 1049 deletions
|
@ -21,7 +21,7 @@ import java.awt.*;
|
|||
import java.awt.event.ActionListener;
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
|
@ -589,7 +589,7 @@ public class DiffTestAdapter extends AbstractGhidraHeadedIntegrationTest {
|
|||
}
|
||||
|
||||
public static DockingActionIf getToolAction(PluginTool tool, String name) {
|
||||
List<DockingActionIf> actions = tool.getDockingActionsByOwnerName("Tool");
|
||||
Set<DockingActionIf> actions = getActionsByOwner(tool, "Tool");
|
||||
for (DockingActionIf action : actions) {
|
||||
if (name.equals(action.getName())) {
|
||||
return action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue