Project

General

Profile

Download (917 Bytes) Statistics
| Branch: | Tag: | Revision:
1 729887cf n.hoffmann
/**
2
* Copyright (C) 2007 EDIT
3 3e89c139 Andreas Müller
* European Distributed Institute of Taxonomy
4 729887cf n.hoffmann
* http://www.e-taxonomy.eu
5 3e89c139 Andreas Müller
*
6 729887cf n.hoffmann
* 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 78222507 n.hoffmann
package eu.etaxonomy.taxeditor.ui.element;
10 729887cf n.hoffmann
11
import org.eclipse.swt.SWT;
12
import org.eclipse.swt.graphics.Color;
13
import org.eclipse.swt.widgets.Display;
14
15
/**
16 3be6ef3e n.hoffmann
 * <p>ISelectable interface.</p>
17
 *
18 729887cf n.hoffmann
 * @author n.hoffmann
19
 * @created Feb 22, 2010
20
 */
21
public interface ISelectable{
22 3e89c139 Andreas Müller
23 3be6ef3e n.hoffmann
	/** Constant <code>SELECTED</code> */
24 729887cf n.hoffmann
	public static Color SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION);
25 3be6ef3e n.hoffmann
	/** Constant <code>NOT_SELECTED</code> */
26 729887cf n.hoffmann
	public static Color NOT_SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE);
27 3e89c139 Andreas Müller
28 729887cf n.hoffmann
	/**
29 3be6ef3e n.hoffmann
	 * <p>setSelected</p>
30
	 *
31
	 * @param selected a boolean.
32 729887cf n.hoffmann
	 */
33
	public void setSelected(boolean selected);
34 3e89c139 Andreas Müller
}