3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.ui
.element
;
13 import org
.eclipse
.swt
.graphics
.Color
;
14 import org
.eclipse
.swt
.widgets
.Composite
;
19 * <p>RootElement class.</p>
22 * @created May 27, 2010
25 public class RootElement
extends AbstractCdmFormElement
{
28 * <p>Constructor for RootElement.</p>
30 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
31 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
33 public RootElement(CdmFormFactory formFactory
, Composite layoutComposite
) {
34 super(formFactory
, layoutComposite
);
39 public void setBackground(Color color
) {
40 for(ICdmFormElement element
: getElements()){
41 element
.setBackground(color
);