mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-3430 - Key Bindings - Updated the Function Call Trees Plugin's
actions key bindings so users can set the bindings separately
This commit is contained in:
parent
cbe5b9e9ca
commit
74b67be5ed
11 changed files with 78 additions and 23 deletions
|
@ -145,6 +145,20 @@ public class SharedStubKeyBindingAction extends DockingAction implements Options
|
|||
return StringUtils.join(owners, ", ");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
|
||||
Set<DockingActionIf> actions = clientActions.keySet();
|
||||
for (DockingActionIf action : actions) {
|
||||
String description = action.getDescription();
|
||||
if (!StringUtils.isBlank(description)) {
|
||||
return description;
|
||||
}
|
||||
}
|
||||
|
||||
return super.getDescription();
|
||||
}
|
||||
|
||||
private KeyStroke validateActionsHaveTheSameDefaultKeyStroke(DockingActionIf newAction) {
|
||||
|
||||
// this value may be null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue