mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-196457 Set a default accessible name for SearchTextField
GitOrigin-RevId: 964cce26bc0a54dc5438ef76f6d3ff12c78305ed
This commit is contained in:
committed by
intellij-monorepo-bot
parent
af90dd7064
commit
d516abeb23
@@ -368,6 +368,7 @@ toolbar.group.left.accessible.group.name=Left Toolbar
|
||||
root.pane.accessible.group.name=Root Pane
|
||||
light.bulb.panel.accessible.name=Light Bulb
|
||||
|
||||
search.text.field.accessible.name=Search
|
||||
search.text.field.history.popup.accessible.name=Search History
|
||||
|
||||
project.widget.opening.project.group.child.action.text=Open Project
|
||||
|
||||
@@ -138,6 +138,7 @@ public class SearchTextField extends JPanel {
|
||||
super.focusGained(e);
|
||||
}
|
||||
});
|
||||
myTextField.getAccessibleContext().setAccessibleName(UIBundle.message("search.text.field.accessible.name"));
|
||||
add(myTextField, BorderLayout.CENTER);
|
||||
|
||||
setHistoryPropertyName(historyPropertyName);
|
||||
|
||||
Reference in New Issue
Block a user