void (@NotNull AnActionEvent e) { final Presentation presentation = e.getPresentation(); presentation.setText(myActive ? InternalActionsBundle.messagePointer("action.presentation.FocusTracesAction.text.stop.focus.tracing") : InternalActionsBundle.messagePointer("action.presentation.FocusTracesAction.text.start.focus.tracing")); presentation.setEnabledAndVisible(e.getProject() != null); }