Project

General

Profile

Download (940 Bytes) Statistics
| Branch: | Tag: | Revision:
1 729887cf n.hoffmann
/**
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 78222507 n.hoffmann
package eu.etaxonomy.taxeditor.ui.element;
11 729887cf n.hoffmann
12
import org.eclipse.swt.SWT;
13
import org.eclipse.swt.graphics.Color;
14
import org.eclipse.swt.widgets.Display;
15
16
17
/**
18 3be6ef3e n.hoffmann
 * <p>ISelectable interface.</p>
19
 *
20 729887cf n.hoffmann
 * @author n.hoffmann
21
 * @created Feb 22, 2010
22
 * @version 1.0
23
 */
24
public interface ISelectable{
25
	
26 3be6ef3e n.hoffmann
	/** Constant <code>SELECTED</code> */
27 729887cf n.hoffmann
	public static Color SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION);
28 3be6ef3e n.hoffmann
	/** Constant <code>NOT_SELECTED</code> */
29 729887cf n.hoffmann
	public static Color NOT_SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE);
30
	
31
	/**
32 3be6ef3e n.hoffmann
	 * <p>setSelected</p>
33
	 *
34
	 * @param selected a boolean.
35 729887cf n.hoffmann
	 */
36
	public void setSelected(boolean selected);
37
}