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:
dragonmacher 2019-12-30 12:02:28 -05:00
parent cbe5b9e9ca
commit 74b67be5ed
11 changed files with 78 additions and 23 deletions

View file

@ -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