Fixed docking action key bindings in dialogs

This commit is contained in:
dragonmacher
2026-03-27 09:53:57 -04:00
parent 834fef4fd2
commit 3a31863dc0
47 changed files with 376 additions and 327 deletions
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,6 +25,7 @@ import javax.swing.JTextField;
import org.junit.*;
import docking.ActionContext;
import docking.action.DockingActionIf;
import docking.action.ToggleDockingAction;
import docking.menu.ActionState;
@@ -118,7 +119,8 @@ public class SampleGraphPluginTest extends AbstractGhidraHeadedIntegrationTest {
ToggleDockingAction showFilterAction =
(ToggleDockingAction) getAction(plugin, SampleGraphProvider.SHOW_FILTER_ACTION_NAME);
setToggleActionSelected(showFilterAction, provider.getActionContext(null), true);
ActionContext context = createActionContext(provider);
setToggleActionSelected(showFilterAction, context, true);
Component filterPanel =
findComponentByName(provider.getComponent(), "sample.graph.filter.panel");