
package de.ivu.elect.presentation.email;

import de.ivu.elect.business.email.entity.EmailLayout;
import de.ivu.elect.jee.presentation.dynamicform.FormBuilder;
import de.ivu.elect.presentation.email.form.EmailLayoutViewFormBuilder;
import de.ivu.elect.presentation.hilfe.OnlineHilfeId;

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

@Named(AbstractEmailLayoutCreateView.COMPONENT_NAME)
@OnlineHilfeId(value = "740", mehrfachVergebenOk = true)
public class EmailLayoutCreateView extends AbstractEmailLayoutCreateView {

  private static final long serialVersionUID = 1L;

  @Inject
  private EmailLayoutViewFormBuilder emailLayoutViewFormBuilder;

  public EmailLayoutCreateView() {
    super();
  }

  @Override
  public void addProperties(FormBuilder formBuilder, EmailLayout emailLayout) {
    emailLayoutViewFormBuilder.addEmailLayoutProperties(formBuilder, emailLayout);
  }
}
