void (@NotNull AnActionEvent event) { Presentation presentation = event.getPresentation(); presentation.setText(ExecutionBundle.messagePointer("rerun.configuration.action.name", StringUtil.escapeMnemonics(myEnvironment.getRunProfile().getName()))); presentation.setIcon( ExecutionManagerImpl.isProcessRunning(myEnvironment.getContentToReuse()) ? AllIcons.Actions.Restart : AllIcons.Actions.Compile); }