2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.ui
.element
;
12 import org
.eclipse
.swt
.graphics
.Color
;
13 import org
.eclipse
.swt
.widgets
.Composite
;
18 * <p>RootElement class.</p>
21 * @created May 27, 2010
24 public class RootElement
extends AbstractCdmFormElement
{
27 * <p>Constructor for RootElement.</p>
29 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
30 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
32 public RootElement(CdmFormFactory formFactory
, Composite layoutComposite
) {
33 super(formFactory
, layoutComposite
);
38 public void setBackground(Color color
) {
39 for(ICdmFormElement element
: getElements()){
40 element
.setBackground(color
);