Project

General

Profile

Download (1.12 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.forms;
12

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

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

    
25
	/**
26
	 * <p>Constructor for RootElement.</p>
27
	 *
28
	 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
29
	 * @param layoutComposite a {@link org.eclipse.swt.widgets.Composite} object.
30
	 */
31
	public RootElement(CdmFormFactory formFactory, Composite layoutComposite) {
32
		super(formFactory, layoutComposite);
33
	}
34
	
35
	/** {@inheritDoc} */
36
	public void setSelected(boolean selected) {
37
		// no
38
	}
39

    
40
	/** {@inheritDoc} */
41
	@Override
42
	public void setBackground(Color color) {
43
		for(ICdmFormElement element : getElements()){
44
			element.setBackground(color);
45
		}
46
	}
47
	
48
}
(29-29/35)