use of com.intellij.ui.SearchTextField.FindAction in project intellij-community by JetBrains.
the class SettingsDialog method init.
private void init(Configurable configurable, @Nullable Project project) {
String name = configurable == null ? null : configurable.getDisplayName();
String title = CommonBundle.settingsTitle();
if (project != null && project.isDefault())
title = "Default " + title;
setTitle(name == null ? title : name.replace('\n', ' '));
ShortcutSet set = getFindActionShortcutSet();
if (set != null)
new FindAction().registerCustomShortcutSet(set, getRootPane(), myDisposable);
init();
}
Aggregations