package de.ivu.elect.presentation.lokalisierung.action;

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

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

import de.ivu.elect.business.lokalisierung.entity.Lokalisierung;
import de.ivu.elect.jee.presentation.action.AbstractActionMenuModelBuilder;
import de.ivu.elect.jee.presentation.action.ActionEntry;

@Named(LokalisierungActionMenu.COMPONENT_NAME)
public class LokalisierungActionMenu extends AbstractActionMenuModelBuilder<Lokalisierung> {
  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "lokalisierungActionMenu";

  @Inject
  protected LokalisierungEditAction editAction;

  @Override
  protected List<ActionEntry<Lokalisierung>> getActionEntriesSorted() {
    List<ActionEntry<Lokalisierung>> result = new ArrayList<>();

    result.add(editAction);

    return result;
  }
}


