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

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

import javax.inject.Inject;
import javax.inject.Named;

import de.ivu.elect.jee.presentation.menu.AbstractMenuModelBuilder;
import de.ivu.elect.jee.presentation.menu.MenuEntry;

/**
 *  on 24.06.2015.
 */
@Named(GebietsartSearchMenu.COMPONENT_NAME)
public class GebietsartSearchMenu extends AbstractMenuModelBuilder {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "gebietsartSearchMenu";

  @Inject
  private transient GebietsartCreateMenuItemEntry gebietsartCreateMenuItemEntry;

  public GebietsartSearchMenu() {
    super();
  }

  @Override
  protected List<MenuEntry> getMenuEntriesSorted() {
    List<MenuEntry> result = new ArrayList<>();

    result.add(gebietsartCreateMenuItemEntry);

    return result;
  }
}
