(no commit message)
[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
17 /**
18 * <p>RootElement class.</p>
19 *
20 * @author n.hoffmann
21 * @created May 27, 2010
22 * @version 1.0
23 */
24 public class RootElement extends AbstractCdmFormElement {
25
26 /**
27 * <p>Constructor for RootElement.</p>
28 *
29 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
30 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
31 */
32 public RootElement(CdmFormFactory formFactory, Composite layoutComposite) {
33 super(formFactory, layoutComposite);
34 }
35
36 /** {@inheritDoc} */
37 @Override
38 public void setBackground(Color color) {
39 for(ICdmFormElement element : getElements()){
40 element.setBackground(color);
41 }
42 }
43
44 }