void (@NotNull AnActionEvent e) { final ResourceBundleEditor editor = getEditor(e); e.getPresentation().setEnabledAndVisible(editor != null && editor.getSelectedElementIfOnlyOne() instanceof PropertyStructureViewElement); }