ref #9114 adapt some classes with URI to wrapper in taxeditor (cont.)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / feature / CharacterDetailSection.java
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.model.description.Character;
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 *
22 * @author pplitzner
23 * @since Dec 21, 2017
24 *
25 */
26 public class CharacterDetailSection extends AbstractCdmDetailSection<Character> {
27
28 public CharacterDetailSection(CdmFormFactory formFactory,
29 ConversationHolder conversation, ICdmFormElement parentElement,
30 ISelectionProvider selectionProvider, int style) {
31 super(formFactory, conversation, parentElement, selectionProvider, style);
32 }
33
34 @Override
35 public String getHeading() {
36 return "Character";
37 }
38
39 /**
40 * {@inheritDoc}
41 */
42 @Override
43 protected AbstractCdmDetailElement<Character> createCdmDetailElement(AbstractCdmDetailSection<Character> parentElement,
44 int style) {
45 return formFactory.createCharacterDetailElement(parentElement, style);
46 }
47
48 }