Revision 3e89c139
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/ISelectable.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.ui.element; |
11 | 10 |
|
12 | 11 |
import org.eclipse.swt.SWT; |
13 | 12 |
import org.eclipse.swt.graphics.Color; |
14 | 13 |
import org.eclipse.swt.widgets.Display; |
15 | 14 |
|
16 |
|
|
17 | 15 |
/** |
18 | 16 |
* <p>ISelectable interface.</p> |
19 | 17 |
* |
20 | 18 |
* @author n.hoffmann |
21 | 19 |
* @created Feb 22, 2010 |
22 |
* @version 1.0 |
|
23 | 20 |
*/ |
24 | 21 |
public interface ISelectable{ |
25 |
|
|
22 |
|
|
26 | 23 |
/** Constant <code>SELECTED</code> */ |
27 | 24 |
public static Color SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION); |
28 | 25 |
/** Constant <code>NOT_SELECTED</code> */ |
29 | 26 |
public static Color NOT_SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE); |
30 |
|
|
27 |
|
|
31 | 28 |
/** |
32 | 29 |
* <p>setSelected</p> |
33 | 30 |
* |
34 | 31 |
* @param selected a boolean. |
35 | 32 |
*/ |
36 | 33 |
public void setSelected(boolean selected); |
37 |
} |
|
34 |
} |
Also available in: Unified diff
cleanup