
package de.ivu.elect.presentation.wahl.menu;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;

import de.ivu.elect.business.wahl.entity.WahlConstants;
import de.ivu.elect.jee.presentation.menu.AbstractSubMenuEntry;
import de.ivu.elect.jee.presentation.menu.MenuEntry;
import de.ivu.elect.presentation.dashboard.menu.DashboardMenuItemEntry;

public class WahlMainMenuEntry extends AbstractSubMenuEntry {

  private static final long serialVersionUID = 1L;

  @Inject
  private transient DashboardMenuItemEntry dashboardMenuItemEntry;

  public WahlMainMenuEntry() {
    super();
  }

  @Override
  protected List<MenuEntry> getSubMenuEntriesSorted() {
    List<MenuEntry> result = new ArrayList<>();
    result.add(dashboardMenuItemEntry);

    return result;
  }

  @Override
  public String getLabelKey() {
    return WahlConstants.MESSAGE_KEY_ENTITY_MEHRZAHL;
  }

  public void addAuszuwaehlendeWahlenMenuEntries(List<MenuEntry> result, boolean addSeparator) {
    // nichts zu tun
  }
}
