ref #7086, #7095 Implement working set navigator
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / ISelectable.java
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
10 package eu.etaxonomy.taxeditor.ui.element;
11
12 import org.eclipse.swt.SWT;
13 import org.eclipse.swt.graphics.Color;
14 import org.eclipse.swt.widgets.Display;
15
16
17 /**
18 * <p>ISelectable interface.</p>
19 *
20 * @author n.hoffmann
21 * @created Feb 22, 2010
22 * @version 1.0
23 */
24 public interface ISelectable{
25
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);
30
31 /**
32 * <p>setSelected</p>
33 *
34 * @param selected a boolean.
35 */
36 public void setSelected(boolean selected);
37 }