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
|
*/
|
20
|
public class VerbatimTimePeriodElement
|
21
|
extends TimePeriodElementBase<VerbatimTimePeriod> {
|
22
|
|
23
|
|
24
|
public VerbatimTimePeriodElement(CdmFormFactory formFactory, ICdmFormElement parentElement, String labelString,
|
25
|
VerbatimTimePeriod timePeriod, int style) {
|
26
|
super(formFactory, parentElement, labelString, timePeriod, style);
|
27
|
}
|
28
|
|
29
|
@Override
|
30
|
protected DateDetailSection<VerbatimTimePeriod> createDateDetailSection() {
|
31
|
return formFactory.createVerbatimDateDetailSection(this,
|
32
|
Section.TWISTIE);
|
33
|
}
|
34
|
|
35
|
/**
|
36
|
* <p>
|
37
|
* Setter for the field <code>timePeriod</code>.
|
38
|
* </p>
|
39
|
*
|
40
|
* @param timePeriod
|
41
|
* the timePeriod to set
|
42
|
*/
|
43
|
@Override
|
44
|
public void setTimePeriod(VerbatimTimePeriod timePeriod) {
|
45
|
super.setTimePeriod(timePeriod);
|
46
|
}
|
47
|
|
48
|
|
49
|
|
50
|
|
51
|
}
|