void (AnActionButton anActionButton) { String selectedDictionary = myCustomDictionariesTableView.getSelectedObject(); if (selectedDictionary == null) return; if (defaultDictionaries.contains(selectedDictionary)) { selectedDictionary = selectedDictionary.equals(SpellCheckerBundle.message("app.dictionary")) ? myManager.getAppDictionaryPath$intellij_spellchecker() : myManager.getProjectDictionaryPath$intellij_spellchecker(); } manager.openDictionaryInEditor(selectedDictionary); }