3 * Copyright (C) 2007 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.
11 package eu
.etaxonomy
.taxeditor
.ui
.section
;
13 import org
.eclipse
.swt
.SWT
;
14 import org
.eclipse
.swt
.widgets
.Label
;
16 import eu
.etaxonomy
.cdm
.model
.common
.VersionableEntity
;
17 import eu
.etaxonomy
.taxeditor
.ui
.campanula
.compatibility
.ICdmFormElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmFormElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
22 * <p>EmptyElement class.</p>
25 * @created Nov 5, 2009
28 public class EmptyElement
extends AbstractCdmFormElement
{
31 * <p>Constructor for EmptyElement.</p>
34 * @param toolkit a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
35 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
36 * @param entity a {@link eu.etaxonomy.cdm.model.common.VersionableEntity} object.
38 public EmptyElement(CdmFormFactory toolkit
, ICdmFormElement parentElement
, VersionableEntity entity
, int style
) {
39 super(toolkit
, parentElement
);
40 addControl(new Label(getLayoutComposite(), SWT
.HORIZONTAL
));