comparison dwt/dnd/DND.d @ 213:36f5cb12e1a2

Update to SWT 3.4M7
author Frank Benoit <benoit@tionex.de>
date Sat, 17 May 2008 17:34:28 +0200
parents ab60f3309436
children fd9c62a2998e
comparison
equal deleted inserted replaced
212:ab60f3309436 213:36f5cb12e1a2
112 public static const int DragEnter = 2002; 112 public static const int DragEnter = 2002;
113 113
114 /** 114 /**
115 * DropTarget Event: the cursor has left the drop target boundaries OR the drop 115 * DropTarget Event: the cursor has left the drop target boundaries OR the drop
116 * operation has been cancelled (such as by hitting ECS) OR the drop is about to 116 * operation has been cancelled (such as by hitting ECS) OR the drop is about to
117 * happen (user has released the mous ebutotn over this target) (value is 2003). 117 * happen (user has released the mouse button over this target) (value is 2003).
118 */ 118 */
119 public static const int DragLeave = 2003; 119 public static const int DragLeave = 2003;
120 120
121 /** 121 /**
122 * DropTarget Event: the cursor is over the drop target (value is 2004). 122 * DropTarget Event: the cursor is over the drop target (value is 2004).
198 * Error code: Data does not have correct format for type (value is 2003). 198 * Error code: Data does not have correct format for type (value is 2003).
199 * @since 3.1 199 * @since 3.1
200 */ 200 */
201 public static const int ERROR_INVALID_DATA = 2003; 201 public static const int ERROR_INVALID_DATA = 2003;
202 202
203 /**
204 * DropTarget Key: The string constant for looking up the drop target
205 * for a control using <code>getData(String)</code>. When a drop target
206 * is created for a control, it is stored as a property in the control
207 * using <code>setData(String, Object)</code>.
208 *
209 * @since 3.4
210 */
211 public static final String DROP_TARGET_KEY = "DropTarget"; //$NON-NLS-1$
212
213 /**
214 * DragSource Key: The string constant for looking up the drag source
215 * for a control using <code>getData(String)</code>. When a drag source
216 * is created for a control, it is stored as a property in the control
217 * using <code>setData(String, Object)</code>.
218 *
219 * @since 3.4
220 */
221 public static final String DRAG_SOURCE_KEY = "DragSource"; //$NON-NLS-1$
203 222
204 static const String INIT_DRAG_MESSAGE = "Cannot initialize Drag"; //$NON-NLS-1$ 223 static const String INIT_DRAG_MESSAGE = "Cannot initialize Drag"; //$NON-NLS-1$
205 static const String INIT_DROP_MESSAGE = "Cannot initialize Drop"; //$NON-NLS-1$ 224 static const String INIT_DROP_MESSAGE = "Cannot initialize Drop"; //$NON-NLS-1$
206 static const String CANNOT_SET_CLIPBOARD_MESSAGE = "Cannot set data in clipboard"; //$NON-NLS-1$ 225 static const String CANNOT_SET_CLIPBOARD_MESSAGE = "Cannot set data in clipboard"; //$NON-NLS-1$
207 static const String INVALID_DATA_MESSAGE = "Data does not have correct format for type"; //$NON-NLS-1$ 226 static const String INVALID_DATA_MESSAGE = "Data does not have correct format for type"; //$NON-NLS-1$