Project

General

Profile

Download (1.97 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;
11

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

    
14
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
15
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
16
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
17
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
18
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
19
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
20

    
21
/**
22
 * @author pplitzner
23
 * @date 17.06.2014
24
 *
25
 */
26
public class OriginalLabelDataSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection {
27

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

    
41
    /* (non-Javadoc)
42
     * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#getHeading()
43
     */
44
    @Override
45
    public String getHeading() {
46
        return "Original Label Data";
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<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) {
54
        return formFactory.createOriginalLabelDataElement(parentElement);
55
    }
56

    
57
}
(31-31/34)