Project

General

Profile

Download (1.91 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2013 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 org.eclipse.jface.viewers.ISelectionProvider;
12

    
13
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
14
import eu.etaxonomy.cdm.model.molecular.DnaSample;
15
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
16
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
17
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
18
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
19

    
20
/**
21
 * @author pplitzner
22
 * @date 12.12.2013
23
 *
24
 */
25
public class TissueSampleGeneralDetailSection extends AbstractCdmDetailSection<DnaSample> {
26

    
27
    /**
28
     * @param formFactory
29
     * @param conversation
30
     * @param parentElement
31
     * @param selectionProvider
32
     * @param style
33
     */
34
    public TissueSampleGeneralDetailSection(CdmFormFactory formFactory,
35
            ConversationHolder conversation, ICdmFormElement parentElement,
36
            ISelectionProvider selectionProvider, int style) {
37
        super(formFactory, conversation, parentElement, selectionProvider, style);
38
    }
39

    
40

    
41
    /* (non-Javadoc)
42
     * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
43
     */
44
    @Override
45
    public String getHeading() {
46
        return "General";
47
    }
48

    
49
    /* (non-Javadoc)
50
     * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
51
     */
52
    @Override
53
    protected AbstractCdmDetailElement<DnaSample> createCdmDetailElement(AbstractCdmDetailSection<DnaSample> parentElement, int style) {
54
        return formFactory.createTissueSampleGeneralDetailElement(parentElement);
55
    }
56

    
57
}
(32-32/32)