1
|
/**
|
2
|
* Copyright (C) 2007 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
|
|
10
|
package eu.etaxonomy.taxeditor.ui.element;
|
11
|
|
12
|
import org.eclipse.ui.forms.widgets.Section;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.common.TimePeriod;
|
15
|
|
16
|
/**
|
17
|
* <p>
|
18
|
* TimePeriodElement class.
|
19
|
* </p>
|
20
|
*
|
21
|
* @author n.hoffmann
|
22
|
* @created Nov 17, 2009
|
23
|
*/
|
24
|
public class TimePeriodElement
|
25
|
extends TimePeriodElementBase<TimePeriod> {
|
26
|
|
27
|
|
28
|
public TimePeriodElement(CdmFormFactory formFactory, ICdmFormElement parentElement, String labelString,
|
29
|
TimePeriod timePeriod, int style) {
|
30
|
super(formFactory, parentElement, labelString, timePeriod, style);
|
31
|
}
|
32
|
|
33
|
@Override
|
34
|
protected DateDetailSection<TimePeriod> createDateDetailSection() {
|
35
|
return formFactory.createDateDetailSection(this,
|
36
|
Section.TWISTIE);
|
37
|
}
|
38
|
|
39
|
|
40
|
}
|