78
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2005, 2008 IBM Corporation and others.
|
|
3 * All rights reserved. This program and the accompanying materials
|
|
4 * are made available under the terms of the Eclipse Public License v1.0
|
|
5 * which accompanies this distribution, and is available at
|
|
6 * http://www.eclipse.org/legal/epl-v10.html
|
|
7 *
|
|
8 * Contributors:
|
|
9 * IBM Corporation - initial API and implementation
|
|
10 * Matt Carter - bug 170668
|
|
11 * Brad Reynolds - bug 170848
|
|
12 *******************************************************************************/
|
|
13 module org.eclipse.jface.internal.databinding.swt.SWTProperties;
|
|
14
|
|
15 import java.lang.all;
|
|
16
|
|
17 /**
|
|
18 * Constants used to describe properties of SWT controls.
|
|
19 *
|
|
20 * @since 1.0
|
|
21 *
|
|
22 */
|
|
23 public interface SWTProperties {
|
|
24
|
|
25 /**
|
|
26 * Applies to Control
|
|
27 */
|
|
28 public static final String ENABLED = "enabled"; //$NON-NLS-1$
|
|
29 /**
|
|
30 * Applies to Control
|
|
31 */
|
|
32 public static final String VISIBLE = "visible"; //$NON-NLS-1$
|
|
33 /**
|
|
34 * Applies to Control
|
|
35 */
|
|
36 public static final String TOOLTIP_TEXT = "tooltip"; //$NON-NLS-1$
|
|
37 /**
|
|
38 * Applies to
|
|
39 */
|
|
40 public static final String ITEMS = "items"; //$NON-NLS-1$
|
|
41 /**
|
|
42 * Applies to Spinner
|
|
43 */
|
|
44 public static final String MAX = "max"; //$NON-NLS-1$
|
|
45 /**
|
|
46 * Applies to Spinner
|
|
47 */
|
|
48 public static final String MIN = "min"; //$NON-NLS-1$
|
|
49 /**
|
|
50 * Applies to Spinner, Button
|
|
51 */
|
|
52 public static final String SELECTION = "selection"; //$NON-NLS-1$
|
|
53 /**
|
|
54 * Applies to Spinner, Button
|
|
55 */
|
|
56 public static final String SELECTION_INDEX = "index"; //$NON-NLS-1$
|
|
57 /**
|
|
58 * Applies to Text, Label, Combo
|
|
59 */
|
|
60 public static final String TEXT = "text"; //$NON-NLS-1$
|
|
61
|
|
62 /**
|
|
63 * Applies to Label, CLabel.
|
|
64 */
|
|
65 public static final String IMAGE = "image"; //$NON-NLS-1$
|
|
66 /**
|
|
67 * Applies to Control
|
|
68 */
|
|
69 public static final String FOREGROUND = "foreground"; //$NON-NLS-1$
|
|
70 /**
|
|
71 * Applies to Control
|
|
72 */
|
|
73 public static final String BACKGROUND = "background"; //$NON-NLS-1$
|
|
74 /**
|
|
75 * Applies to Control
|
|
76 */
|
|
77 public static final String FONT = "font"; //$NON-NLS-1$
|
|
78
|
|
79 }
|