1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
package eu.etaxonomy.taxeditor.ui.element;
|
10
|
|
11
|
import org.eclipse.swt.graphics.Color;
|
12
|
import org.eclipse.swt.widgets.Composite;
|
13
|
|
14
|
/**
|
15
|
* @author n.hoffmann
|
16
|
* @created May 27, 2010
|
17
|
*/
|
18
|
public class RootElement extends AbstractCdmFormElement {
|
19
|
|
20
|
/**
|
21
|
* <p>Constructor for RootElement.</p>
|
22
|
*
|
23
|
* @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
|
24
|
* @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
|
25
|
*/
|
26
|
public RootElement(CdmFormFactory formFactory, Composite layoutComposite) {
|
27
|
super(formFactory, layoutComposite);
|
28
|
}
|
29
|
|
30
|
@Override
|
31
|
public void setBackground(Color color) {
|
32
|
for(ICdmFormElement element : getElements()){
|
33
|
element.setBackground(color);
|
34
|
}
|
35
|
}
|
36
|
}
|