1 |
729887cf
|
n.hoffmann
|
// $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 |
f211dd28
|
n.hoffmann
|
package eu.etaxonomy.taxeditor.ui.section;
|
12 |
729887cf
|
n.hoffmann
|
|
13 |
|
|
import org.eclipse.swt.SWT;
|
14 |
|
|
import org.eclipse.swt.widgets.Label;
|
15 |
|
|
|
16 |
|
|
import eu.etaxonomy.cdm.model.common.VersionableEntity;
|
17 |
78222507
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement;
|
18 |
|
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
19 |
|
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
20 |
729887cf
|
n.hoffmann
|
|
21 |
|
|
/**
|
22 |
3be6ef3e
|
n.hoffmann
|
* <p>EmptyElement class.</p>
|
23 |
|
|
*
|
24 |
729887cf
|
n.hoffmann
|
* @author n.hoffmann
|
25 |
|
|
* @created Nov 5, 2009
|
26 |
|
|
* @version 1.0
|
27 |
|
|
*/
|
28 |
0c52f39c
|
n.hoffmann
|
public class EmptyElement extends AbstractCdmFormElement{
|
29 |
729887cf
|
n.hoffmann
|
|
30 |
|
|
/**
|
31 |
3be6ef3e
|
n.hoffmann
|
* <p>Constructor for EmptyElement.</p>
|
32 |
|
|
*
|
33 |
|
|
* @param style a int.
|
34 |
78222507
|
n.hoffmann
|
* @param toolkit a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
|
35 |
|
|
* @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
|
36 |
3be6ef3e
|
n.hoffmann
|
* @param entity a {@link eu.etaxonomy.cdm.model.common.VersionableEntity} object.
|
37 |
729887cf
|
n.hoffmann
|
*/
|
38 |
|
|
public EmptyElement(CdmFormFactory toolkit, ICdmFormElement parentElement, VersionableEntity entity, int style) {
|
39 |
|
|
super(toolkit, parentElement);
|
40 |
|
|
addControl(new Label(getLayoutComposite(), SWT.HORIZONTAL));
|
41 |
|
|
}
|
42 |
|
|
}
|