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
.forms
;
13 import org
.eclipse
.swt
.graphics
.Color
;
14 import org
.eclipse
.swt
.widgets
.Composite
;
17 * <p>RootElement class.</p>
20 * @created May 27, 2010
23 public class RootElement
extends AbstractCdmFormElement
{
26 * <p>Constructor for RootElement.</p>
28 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
29 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
31 public RootElement(CdmFormFactory formFactory
, Composite layoutComposite
) {
32 super(formFactory
, layoutComposite
);
37 public void setBackground(Color color
) {
38 for(ICdmFormElement element
: getElements()){
39 element
.setBackground(color
);