2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.ui
.element
;
12 import org
.eclipse
.swt
.SWT
;
13 import org
.eclipse
.swt
.graphics
.Color
;
14 import org
.eclipse
.swt
.widgets
.Display
;
18 * <p>ISelectable interface.</p>
21 * @created Feb 22, 2010
24 public interface ISelectable
{
26 /** Constant <code>SELECTED</code> */
27 public static Color SELECTED
= Display
.getCurrent().getSystemColor(SWT
.COLOR_LIST_SELECTION
);
28 /** Constant <code>NOT_SELECTED</code> */
29 public static Color NOT_SELECTED
= Display
.getCurrent().getSystemColor(SWT
.COLOR_WHITE
);
34 * @param selected a boolean.
36 public void setSelected(boolean selected
);