2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.ui
.element
;
11 import org
.eclipse
.ui
.forms
.widgets
.ExpandableComposite
;
13 import eu
.etaxonomy
.cdm
.model
.common
.TimePeriod
;
16 * TimePeriodElement class.
19 * @created Nov 17, 2009
21 public class TimePeriodElement
22 extends TimePeriodElementBase
<TimePeriod
> {
24 public TimePeriodElement(CdmFormFactory formFactory
, ICdmFormElement parentElement
, String labelString
,
25 TimePeriod timePeriod
, int style
) {
26 super(formFactory
, parentElement
, labelString
, timePeriod
, style
);
30 protected DateDetailSection
<TimePeriod
> createDateDetailSection() {
31 return formFactory
.createDateDetailSection(this,
32 ExpandableComposite
.TWISTIE
);