1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.vaadin.view;
|
10
|
|
11
|
import org.springframework.beans.factory.annotation.Autowired;
|
12
|
|
13
|
import com.vaadin.devday.ui.view.AbstractPopupEditor;
|
14
|
import com.vaadin.ui.AbstractOrderedLayout;
|
15
|
|
16
|
import eu.etaxonomy.cdm.api.application.CdmRepository;
|
17
|
import eu.etaxonomy.cdm.model.common.CdmBase;
|
18
|
|
19
|
/**
|
20
|
* @author a.kohlbecker
|
21
|
* @since Mar 1, 2017
|
22
|
*
|
23
|
*/
|
24
|
public abstract class AbstractPopupCdmEditor<DTO extends CdmBase> extends AbstractPopupEditor<DTO> {
|
25
|
|
26
|
private static final long serialVersionUID = -7293978747415508916L;
|
27
|
|
28
|
@Autowired
|
29
|
private CdmRepository repo;
|
30
|
|
31
|
/**
|
32
|
* @param layout
|
33
|
* @param dtoType
|
34
|
*/
|
35
|
public AbstractPopupCdmEditor(AbstractOrderedLayout layout, Class<DTO> dtoType) {
|
36
|
super(layout, dtoType);
|
37
|
}
|
38
|
|
39
|
public AbstractPopupCdmEditor(Class<DTO> dtoType) {
|
40
|
super(dtoType);
|
41
|
}
|
42
|
|
43
|
}
|