private void updatePresentationTextAndIcon(@NotNull AnActionEvent e, @NotNull Presentation presentation) {
      if (e.getPlace().equals(ActionPlaces.PROJECT_VIEW_POPUP)) {
        presentation.setText(ActionsBundle.actionText(ACTION_ID));
      }
      else {
        presentation.setText(myActionText.getValue());
      }

      presentation.setIcon(new ScratchFileTypeIcon(AllIcons.FileTypes.Text));
      if (ActionPlaces.MAIN_MENU.equals(e.getPlace()) && !NewActionGroup.isActionInNewPopupMenu(this)) {
        presentation.setIcon(null);
      }
    }
private void updatePresentationTextAndIcon(@NotNull AnActionEvent e, @NotNull Presentation presentation)