@Override
  public void update(@NotNull AnActionEvent e) {
    super.update(e);
    if (!isAvailable(e)) return;

    MavenProfileKind targetState = getTargetState(e);
    if(targetState == null) return;
    String text = MavenProjectBundle.message(switch (targetState) {
      case NONE -> "maven.profile.deactivate";
      case EXPLICIT -> "maven.profile.activate";
      case IMPLICIT -> "maven.profile.default";
    });
    e.getPresentation().setText(text);
  }
@Override
  public void update(@NotNull AnActionEvent e)