Mercurial > projects > dwt-addons
comparison dwtx/jface/action/IAction.d @ 16:e0f0aaf75edd
PopupDialog, bindings and actions
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 01 Apr 2008 08:00:31 +0200 |
parents | c87617952847 |
children | 46a6e0e6ccd4 |
comparison
equal
deleted
inserted
replaced
15:db8940420ed8 | 16:e0f0aaf75edd |
---|---|
55 * to a check box, or if <code>setMenuCreator</code> is called, then the | 55 * to a check box, or if <code>setMenuCreator</code> is called, then the |
56 * style will change to a drop down menu. | 56 * style will change to a drop down menu. |
57 * | 57 * |
58 * @since 2.1 | 58 * @since 2.1 |
59 */ | 59 */ |
60 public static int AS_UNSPECIFIED = 0x00; | 60 public static const int AS_UNSPECIFIED = 0x00; |
61 | 61 |
62 /** | 62 /** |
63 * Action style constant (value <code>1</code>) indicating action is | 63 * Action style constant (value <code>1</code>) indicating action is |
64 * a simple push button. | 64 * a simple push button. |
65 */ | 65 */ |
66 public static int AS_PUSH_BUTTON = 0x01; | 66 public static const int AS_PUSH_BUTTON = 0x01; |
67 | 67 |
68 /** | 68 /** |
69 * Action style constant (value <code>2</code>) indicating action is | 69 * Action style constant (value <code>2</code>) indicating action is |
70 * a check box (or a toggle button). | 70 * a check box (or a toggle button). |
71 */ | 71 */ |
72 public static int AS_CHECK_BOX = 0x02; | 72 public static const int AS_CHECK_BOX = 0x02; |
73 | 73 |
74 /** | 74 /** |
75 * Action style constant (value <code>4</code>) indicating action is | 75 * Action style constant (value <code>4</code>) indicating action is |
76 * a drop down menu. | 76 * a drop down menu. |
77 */ | 77 */ |
78 public static int AS_DROP_DOWN_MENU = 0x04; | 78 public static const int AS_DROP_DOWN_MENU = 0x04; |
79 | 79 |
80 /** | 80 /** |
81 * Action style constant (value <code>8</code>) indicating action is | 81 * Action style constant (value <code>8</code>) indicating action is |
82 * a radio button. | 82 * a radio button. |
83 * | 83 * |
84 * @since 2.1 | 84 * @since 2.1 |
85 */ | 85 */ |
86 public static int AS_RADIO_BUTTON = 0x08; | 86 public static const int AS_RADIO_BUTTON = 0x08; |
87 | 87 |
88 /** | 88 /** |
89 * Property name of an action's text (value <code>"text"</code>). | 89 * Property name of an action's text (value <code>"text"</code>). |
90 */ | 90 */ |
91 public static const String TEXT = "text"; //$NON-NLS-1$ | 91 public static const String TEXT = "text"; //$NON-NLS-1$ |