GT-2971 - Key Bindings - Added the ability to set a key binding for the

close button for all Component Providers
This commit is contained in:
dragonmacher 2019-07-19 11:00:43 -04:00
parent 8739d8e750
commit 380d863c96
113 changed files with 612 additions and 477 deletions

View file

@ -32,6 +32,7 @@ import docking.StatusBar;
import docking.action.DockingActionIf;
import docking.actions.KeyEntryDialog;
import docking.actions.ToolActions;
import docking.tool.ToolConstants;
import docking.widgets.OptionDialog;
import docking.widgets.table.GTable;
import generic.jar.ResourceFile;
@ -60,7 +61,7 @@ public class ToolScreenShots extends GhidraScreenShotGenerator {
public void testConfigTool() {
tool = env.launchDefaultTool();
performAction("Configure Tool", "Tool", false);
performAction("Configure Tool", ToolConstants.TOOL_OWNER, false);
captureDialog(600, 500);
}
@ -68,7 +69,7 @@ public class ToolScreenShots extends GhidraScreenShotGenerator {
public void testConfigurePlugins() {
tool = env.launchDefaultTool();
performAction("Configure Tool", "Tool", false);
performAction("Configure Tool", ToolConstants.TOOL_OWNER, false);
performDialogAction("Configure All Plugins", false);
PluginInstallerDialog installerProvider =
(PluginInstallerDialog) getDialog(PluginInstallerDialog.class);
@ -81,7 +82,7 @@ public class ToolScreenShots extends GhidraScreenShotGenerator {
@Test
public void testSaveTool() {
tool = env.launchDefaultTool();
performAction("Save Tool As", "Tool", false);
performAction("Save Tool As", ToolConstants.TOOL_OWNER, false);
captureDialog();
}
@ -232,7 +233,7 @@ public class ToolScreenShots extends GhidraScreenShotGenerator {
}
FileUtilities.writeLinesToFile(file, lines2);
performFrontEndAction("Show Log", "Tool", false);
performFrontEndAction("Show Log", ToolConstants.TOOL_OWNER, false);
captureDialog("Ghidra User Log");
}