void setIconFromPresentation(@NotNull Presentation presentation) {
    Icon icon;
    boolean needGetDisabledIcon = false;
    if (presentation.isEnabled()) {
      icon = presentation.getIcon();
    }
    else {
      icon = presentation.getDisabledIcon();
      if (icon == null && presentation.getIcon() != null) {
        needGetDisabledIcon = true;
        icon = presentation.getIcon();
      }
    }

    setIcon(icon, needGetDisabledIcon);
  }
void setIconFromPresentation(@NotNull Presentation presentation)