3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.ui
.forms
;
13 import org
.eclipse
.swt
.SWT
;
14 import org
.eclipse
.swt
.graphics
.Color
;
15 import org
.eclipse
.swt
.widgets
.Display
;
19 * <p>ISelectable interface.</p>
22 * @created Feb 22, 2010
25 public interface ISelectable
{
27 /** Constant <code>SELECTED</code> */
28 public static Color SELECTED
= Display
.getCurrent().getSystemColor(SWT
.COLOR_LIST_SELECTION
);
29 /** Constant <code>NOT_SELECTED</code> */
30 public static Color NOT_SELECTED
= Display
.getCurrent().getSystemColor(SWT
.COLOR_WHITE
);
35 * @param selected a boolean.
37 public void setSelected(boolean selected
);
42 * @param selected a boolean.
43 * @return a {@link org.eclipse.swt.graphics.Color} object.
45 public Color
getColor(boolean selected
);