@Override
  public void update(@NotNull AnActionEvent e) {
    super.update(e);

    if (ActionPlaces.ACTION_SEARCH.equals(e.getPlace())) {
      Presentation p = e.getPresentation();
      p.setText(GradleBundle.message("gradle.tasks.toggle.offline.search.title"));
    }
  }
@Override
  public void update(@NotNull AnActionEvent e)