1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.taxeditor.ui.section;
|
12
|
|
13
|
import org.eclipse.swt.SWT;
|
14
|
import org.eclipse.swt.widgets.Label;
|
15
|
|
16
|
import eu.etaxonomy.cdm.model.common.VersionableEntity;
|
17
|
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement;
|
18
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
19
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
20
|
|
21
|
/**
|
22
|
* <p>EmptyElement class.</p>
|
23
|
*
|
24
|
* @author n.hoffmann
|
25
|
* @created Nov 5, 2009
|
26
|
* @version 1.0
|
27
|
*/
|
28
|
public class EmptyElement extends AbstractCdmFormElement{
|
29
|
|
30
|
/**
|
31
|
* <p>Constructor for EmptyElement.</p>
|
32
|
*
|
33
|
* @param style a int.
|
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.
|
37
|
*/
|
38
|
public EmptyElement(CdmFormFactory toolkit, ICdmFormElement parentElement, VersionableEntity entity, int style) {
|
39
|
super(toolkit, parentElement);
|
40
|
addControl(new Label(getLayoutComposite(), SWT.HORIZONTAL));
|
41
|
}
|
42
|
}
|