Project

General

Profile

Download (1.05 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
5
* http://www.e-taxonomy.eu
6
* 
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.
9
*/
10

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

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

    
16

    
17

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

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

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