Project

General

Profile

Revision 3ba3b821

ID3ba3b821ae1bfca4922af96eb0725ed3be1af6c9
Parent 9b182365
Child c3b9b63b

Added by Andreas Kohlbecker about 4 years ago

moving cdm popoupeditor to other package

View differences:

src/main/java/com/vaadin/devday/ui/view/AbstractPopupCdmEditor.java
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 com.vaadin.devday.ui.view;
10

  
11
import org.springframework.beans.factory.annotation.Autowired;
12

  
13
import com.vaadin.ui.AbstractOrderedLayout;
14

  
15
import eu.etaxonomy.cdm.api.application.CdmRepository;
16
import eu.etaxonomy.cdm.model.common.CdmBase;
17

  
18
/**
19
 * @author a.kohlbecker
20
 * @since Mar 1, 2017
21
 *
22
 */
23
public abstract class AbstractPopupCdmEditor<DTO extends CdmBase> extends AbstractPopupEditor<DTO> {
24

  
25
    private static final long serialVersionUID = -7293978747415508916L;
26

  
27
    @Autowired
28
    private CdmRepository repo;
29

  
30
    /**
31
     * @param layout
32
     * @param dtoType
33
     */
34
    public AbstractPopupCdmEditor(AbstractOrderedLayout layout, Class<DTO> dtoType) {
35
        super(layout, dtoType);
36
    }
37

  
38
    public AbstractPopupCdmEditor(Class<DTO> dtoType) {
39
        super(dtoType);
40
    }
41

  
42
}
src/main/java/eu/etaxonomy/cdm/vaadin/view/AbstractPopupCdmEditor.java
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
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)