void (@NotNull AnActionEvent e) { SettingsEditorFragment<?, ?> fragment = ((ToggleFragmentAction)action).myFragment; fragment.toggle(true, e); // show or set focus IdeFocusManager.getGlobalInstance().requestFocus(fragment.getEditorComponent(), false); FragmentStatisticsService.getInstance().logNavigateOption(e.getProject(), fragment.getId(), myConfigId, e); }