void (@NotNull AnActionEvent e) { if (e.getPlace().equals(ActionPlaces.WELCOME_SCREEN)) { final String text = getTemplatePresentation().getText(); if (text == null) return; e.getPresentation().setText(StringUtil.trimEnd(text, "...")); } }