Project

General

Profile

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

    
11
import org.eclipse.ui.forms.widgets.Section;
12

    
13
import eu.etaxonomy.cdm.model.common.VerbatimTimePeriod;
14

    
15
/**
16
 * @author k.luther
17
 * @since 15.05.2018
18
 */
19
public class VerbatimTimePeriodElement
20
			extends TimePeriodElementBase<VerbatimTimePeriod> {
21

    
22

    
23
    public VerbatimTimePeriodElement(CdmFormFactory formFactory, ICdmFormElement parentElement, String labelString,
24
			VerbatimTimePeriod timePeriod, int style) {
25
		super(formFactory, parentElement, labelString, timePeriod, style);
26
	}
27

    
28
	@Override
29
	protected DateDetailSection<VerbatimTimePeriod> createDateDetailSection() {
30
		return formFactory.createVerbatimDateDetailSection(this,
31
				Section.TWISTIE);
32
	}
33

    
34
    /**
35
     * Setter for the field <code>timePeriod</code>.
36
     */
37
    @Override
38
    public void setTimePeriod(VerbatimTimePeriod timePeriod) {
39
        super.setTimePeriod(timePeriod);
40
    }
41
}
(58-58/58)