3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.supplemental
;
12 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
13 import eu
.etaxonomy
.taxeditor
.ui
.campanula
.compatibility
.ICdmFormElement
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractFormSection
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
22 public class CdmBaseSection
extends AbstractFormSection
<CdmBase
> {
24 private CdmBaseElement cdmBaseElement
;
28 * @param parentElement
29 * @param selectionProvider
32 public CdmBaseSection(CdmFormFactory formFactory
,
33 ICdmFormElement parentElement
,
36 super(formFactory
, parentElement
, style
);
37 cdmBaseElement
= formFactory
.createCdmBaseElement(this, null, style
);
42 public void setEntity(CdmBase entity
) {
43 super.setEntity(entity
);
44 cdmBaseElement
.setEntity(entity
);