Project

General

Profile

Download (1.45 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2009 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.feature;
10

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

    
13
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
14
import eu.etaxonomy.cdm.persistence.dto.TermNodeDto;
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
 * @author pplitzner
21
 * @since Aug 19, 2019
22
 */
23
public class CharacterNodeDtoDetailSection extends AbstractCdmDetailSection<TermNodeDto> {
24

    
25
	public CharacterNodeDtoDetailSection(CdmFormFactory formFactory,
26
	        ConversationHolder conversation, ICdmFormElement parentElement,
27
			ISelectionProvider selectionProvider, int style) {
28
		super(formFactory, conversation, parentElement, selectionProvider, style);
29
	}
30

    
31
	@Override
32
	public String getHeading() {
33
		return "Character Node";
34
	}
35

    
36
    @Override
37
    protected AbstractCdmDetailElement<TermNodeDto> createCdmDetailElement(AbstractCdmDetailSection<TermNodeDto> parentElement,
38
            int style) {
39
        return formFactory.createCharacterNodeDtoDetailElement(parentElement, style);
40
    }
41
}
(9-9/25)