Project

General

Profile

Download (1.86 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2014 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
11

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

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

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

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

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

    
59
}
(6-6/30)