package de.ivu.elect.presentation.menu;

import de.ivu.elect.jee.faces.FacesContextUtil;

public class NlHtmlHandbuchMainMenuEntry extends AbstractExternerLinkMenuItemEntry {

  @Override
  public boolean isRendered() {
    return true; // Handbuch immer anzeigen
  }

  @Override
  protected boolean hasUseCasePermission() {
    return true; // Handbuch immer anzeigen
  }

  @Override
  protected String getLabelForLink() {
    return getMessage("help.main.menu.item.label");
  }

  @Override
  protected String getUrlForLink() {
    return FacesContextUtil.getContextPath() + "/resources/help/index.html";
  }

  @Override
  public String getIcon() {
    return getIcons().getIconHelp();
  }
}
