2 * Copyright (C) 2009 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
.section
.supplemental
;
11 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
12 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractFormSection
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
21 public class CdmBaseSection
extends AbstractFormSection
<CdmBase
> {
23 private CdmBaseElement cdmBaseElement
;
27 * @param parentElement
28 * @param selectionProvider
31 public CdmBaseSection(CdmFormFactory formFactory
,
32 ICdmFormElement parentElement
,
35 super(formFactory
, parentElement
, style
);
36 cdmBaseElement
= formFactory
.createCdmBaseElement(this, null, style
);
41 public void setEntity(CdmBase entity
) {
42 super.setEntity(entity
);
43 cdmBaseElement
.setEntity(entity
);