Project

General

Profile

Download (917 Bytes) 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
package eu.etaxonomy.taxeditor.ui.element;
10

    
11
import org.eclipse.swt.SWT;
12
import org.eclipse.swt.graphics.Color;
13
import org.eclipse.swt.widgets.Display;
14

    
15
/**
16
 * <p>ISelectable interface.</p>
17
 *
18
 * @author n.hoffmann
19
 * @created Feb 22, 2010
20
 */
21
public interface ISelectable{
22

    
23
	/** Constant <code>SELECTED</code> */
24
	public static Color SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION);
25
	/** Constant <code>NOT_SELECTED</code> */
26
	public static Color NOT_SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE);
27

    
28
	/**
29
	 * <p>setSelected</p>
30
	 *
31
	 * @param selected a boolean.
32
	 */
33
	public void setSelected(boolean selected);
34
}
(29-29/57)