void (@NotNull AnActionEvent e) { if (e.getPlace().equals(PLACE_TOOLBAR)) { e.getPresentation().setDescription(messagePointer("repository.browser.add.location.action.description")); e.getPresentation().setText(messagePointer("repository.browser.add.location.action.text")); e.getPresentation().setIcon(IconUtil.getAddIcon()); } }