Project

General

Profile

Download (1.04 KB) Statistics
| Branch: | Tag: | Revision:
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

    
10
package eu.etaxonomy.taxeditor.ui.element;
11

    
12
import org.eclipse.swt.graphics.Color;
13
import org.eclipse.swt.widgets.Composite;
14

    
15

    
16

    
17
/**
18
 * <p>RootElement class.</p>
19
 *
20
 * @author n.hoffmann
21
 * @created May 27, 2010
22
 * @version 1.0
23
 */
24
public class RootElement extends AbstractCdmFormElement {
25

    
26
	/**
27
	 * <p>Constructor for RootElement.</p>
28
	 *
29
	 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
30
	 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
31
	 */
32
	public RootElement(CdmFormFactory formFactory, Composite layoutComposite) {
33
		super(formFactory, layoutComposite);
34
	}
35

    
36
	/** {@inheritDoc} */
37
	@Override
38
	public void setBackground(Color color) {
39
		for(ICdmFormElement element : getElements()){
40
			element.setBackground(color);
41
		}
42
	}
43
	
44
}
(38-38/45)