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
;
16 import eu
.etaxonomy
.taxeditor
.ui
.campanula
.compatibility
.ICdmFormElement
;
20 * <p>RootElement class.</p>
23 * @created May 27, 2010
26 public class RootElement
extends AbstractCdmFormElement
{
29 * <p>Constructor for RootElement.</p>
31 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
34 public RootElement(CdmFormFactory formFactory
, Composite layoutComposite
) {
35 super(formFactory
, layoutComposite
);
40 public void setBackground(Color color
) {
41 for(ICdmFormElement element
: getElements()){
42 element
.setBackground(color
);