Project

General

Profile

Download (1.85 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2014 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.taxeditor.ui.section.occurrence.dna;
10

    
11
import eu.etaxonomy.cdm.model.molecular.AmplificationResult;
12
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
13
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
14
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
15
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
16

    
17
/**
18
 * @author pplitzner
19
 * @date 15.01.2014
20
 *
21
 */
22
public class AmplificationGelPhotoDetailElement  extends AbstractCdmDetailElement<AmplificationResult> {
23
    private AmplificationGelPhotoCollectionDetailSection sectionGelPhoto;
24

    
25
    /**
26
     * @param formFactory
27
     * @param formElement
28
     */
29
    public AmplificationGelPhotoDetailElement(CdmFormFactory formFactory, ICdmFormElement formElement) {
30
        super(formFactory, formElement);
31
    }
32

    
33
    /*
34
     * (non-Javadoc)
35
     *
36
     * @see
37
     * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
38
     * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
39
     */
40
    @Override
41
    protected void createControls(ICdmFormElement formElement, AmplificationResult entity, int style) {
42
        sectionGelPhoto = formFactory.createAmplificationGelPhotoCollectionDetailSection(getConversationHolder(), formElement, style);
43
        sectionGelPhoto.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
44
        sectionGelPhoto.setEntity(entity);
45
    }
46

    
47
    /*
48
     * (non-Javadoc)
49
     *
50
     * @see
51
     * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
52
     * .lang.Object)
53
     */
54
    @Override
55
    public void handleEvent(Object eventSource) {
56
    }
57

    
58
}
(6-6/32)