mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tooltip text (IDEA-69502)
This commit is contained in:
+2
-2
@@ -832,11 +832,11 @@ public class IdeStatusBarImpl extends JComponent implements StatusBarEx {
|
||||
}
|
||||
|
||||
Set<Integer> vks = ToolWindowManagerImpl.getActivateToolWindowVKs();
|
||||
String text = "Click to show/hide tool windows side bars";
|
||||
String text = "Click to show or hide the tool window bars";
|
||||
if (vks.size() == 1) {
|
||||
Integer stroke = vks.iterator().next();
|
||||
String keystrokeText = KeymapUtil.getKeystrokeText(KeyStroke.getKeyStroke(stroke.intValue(), 0));
|
||||
text += ".\nUse double click of " + keystrokeText + " to popup them when hidden";
|
||||
text += ".\nDouble-press and hold " + keystrokeText + " to show tool window bars when hidden.";
|
||||
}
|
||||
if (!text.equals(getToolTipText())) {
|
||||
setToolTipText(text);
|
||||
|
||||
Reference in New Issue
Block a user