ResourceBundleEditor (@NotNull AnActionEvent e) { final FileEditor editor = e.getData(PlatformCoreDataKeys.FILE_EDITOR); return editor instanceof ResourceBundleEditor ? (ResourceBundleEditor)editor : null; }