mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
go to action: show action description in tooltip
This commit is contained in:
committed by
Aleksey Pivovarov
parent
944a731563
commit
e57d9f8862
@@ -541,6 +541,7 @@ public class GotoActionModel implements ChooseByNameModel, Comparator<Object>, E
|
||||
panel.add(createIconLabel(presentation.getIcon()), BorderLayout.WEST);
|
||||
}
|
||||
appendWithColoredMatches(nameComponent, getName(presentation.getText(), groupName, toggle), pattern, fg, isSelected);
|
||||
panel.setToolTipText(presentation.getDescription());
|
||||
|
||||
Shortcut[] shortcuts = KeymapManager.getInstance().getActiveKeymap().getShortcuts(ActionManager.getInstance().getId(anAction));
|
||||
String shortcutText = KeymapUtil.getPreferredShortcutText(
|
||||
|
||||
Reference in New Issue
Block a user