mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-759 - providing control when using the ActionBuilder for actions to determine which windows they should appear on. Also, cleaned up various actions to take advantage of this.
This commit is contained in:
parent
df72f24b58
commit
1f3f086ac9
51 changed files with 366 additions and 697 deletions
|
@ -21,6 +21,7 @@ import java.awt.Window;
|
|||
|
||||
import org.junit.*;
|
||||
|
||||
import docking.ActionContext;
|
||||
import docking.action.DockingActionIf;
|
||||
import docking.action.ToggleDockingAction;
|
||||
import docking.util.image.ToolIconURL;
|
||||
|
@ -175,7 +176,8 @@ public class DiffSaveSettingsTest extends DiffApplyTestAdapter {
|
|||
ProgramManagerPlugin pm = getPlugin(tool, ProgramManagerPlugin.class);
|
||||
DockingActionIf closeAllProgramAction = getAction(pm, "Close All");
|
||||
assertNotNull(closeAllProgramAction);
|
||||
performAction(closeAllProgramAction, true);
|
||||
ActionContext defaultContext = tool.getDefaultToolContext();
|
||||
performAction(closeAllProgramAction, defaultContext, true);
|
||||
|
||||
openProgram(p3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue