Project

General

Profile

Download (1.96 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;
10

    
11
import org.eclipse.jface.viewers.ISelectionProvider;
12

    
13
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
14
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
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 17.06.2014
23
 *
24
 */
25
public class OriginalLabelDataSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection {
26

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

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

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

    
56
}
(32-32/35)