- moved ICdmFormElement to campanula.compatibility
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / RootElement.java
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.element;
12
13 import org.eclipse.swt.graphics.Color;
14 import org.eclipse.swt.widgets.Composite;
15
16 import eu.etaxonomy.taxeditor.ui.section.campanula.compatibility.ICdmFormElement;
17
18
19 /**
20 * <p>RootElement class.</p>
21 *
22 * @author n.hoffmann
23 * @created May 27, 2010
24 * @version 1.0
25 */
26 public class RootElement extends AbstractCdmFormElement {
27
28 /**
29 * <p>Constructor for RootElement.</p>
30 *
31 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
33 */
34 public RootElement(CdmFormFactory formFactory, Composite layoutComposite) {
35 super(formFactory, layoutComposite);
36 }
37
38 /** {@inheritDoc} */
39 @Override
40 public void setBackground(Color color) {
41 for(ICdmFormElement element : getElements()){
42 element.setBackground(color);
43 }
44 }
45
46 }