Mercurial > projects > dwt2
comparison org.eclipse.jface/src/org/eclipse/jface/action/Action.d @ 86:12b890a6392a
Work on databinding
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Apr 2009 13:58:35 +0200 |
parents | bc29606a740c |
children |
comparison
equal
deleted
inserted
replaced
85:6be48cf9f95c | 86:12b890a6392a |
---|---|
60 public Menu getMenu(Menu parent) { | 60 public Menu getMenu(Menu parent) { |
61 // do nothing | 61 // do nothing |
62 return null; | 62 return null; |
63 } | 63 } |
64 }; | 64 }; |
65 VAL_RADIO_BTN_OFF = new ValueWrapperInt(0); | 65 VAL_RADIO_BTN_OFF = new Integer(0); |
66 VAL_RADIO_BTN_ON = new ValueWrapperInt(1); | 66 VAL_RADIO_BTN_ON = new Integer(1); |
67 VAL_TOGGLE_BTN_OFF = new ValueWrapperBool(false); | 67 VAL_TOGGLE_BTN_OFF = new Boolean(false); |
68 VAL_TOGGLE_BTN_ON = new ValueWrapperBool(true); | 68 VAL_TOGGLE_BTN_ON = new Boolean(true); |
69 } | 69 } |
70 | 70 |
71 /* | 71 /* |
72 * The list of default values the action can have. These values will | 72 * The list of default values the action can have. These values will |
73 * determine the style of the action. | 73 * determine the style of the action. |
74 */ | 74 */ |
75 private static const String VAL_PUSH_BTN = "PUSH_BTN"; //$NON-NLS-1$ | 75 private static const String VAL_PUSH_BTN = "PUSH_BTN"; //$NON-NLS-1$ |
76 | 76 |
77 private static const ValueWrapperInt VAL_RADIO_BTN_OFF; | 77 private static const Integer VAL_RADIO_BTN_OFF; |
78 | 78 |
79 private static const ValueWrapperInt VAL_RADIO_BTN_ON; | 79 private static const Integer VAL_RADIO_BTN_ON; |
80 | 80 |
81 private static const ValueWrapperBool VAL_TOGGLE_BTN_OFF; | 81 private static const Boolean VAL_TOGGLE_BTN_OFF; |
82 | 82 |
83 private static const ValueWrapperBool VAL_TOGGLE_BTN_ON; | 83 private static const Boolean VAL_TOGGLE_BTN_ON; |
84 | 84 |
85 /** | 85 /** |
86 * Converts an accelerator key code to a string representation. | 86 * Converts an accelerator key code to a string representation. |
87 * | 87 * |
88 * @param keyCode | 88 * @param keyCode |