Mercurial > projects > dwt-mac
comparison dwt/events/DragDetectEvent.d @ 34:5123b17c98ef
Ported dwt.events.*, dwt.graphics.GC, Region, dwt.internal.image.*
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 14 Sep 2008 01:45:57 +0200 |
parents | 1a8b3cb347e0 |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
33:965ac0a77267 | 34:5123b17c98ef |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2007 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
10 *******************************************************************************/ | 12 *******************************************************************************/ |
11 module dwt.events.DragDetectEvent; | 13 module dwt.events.DragDetectEvent; |
12 | 14 |
13 import dwt.dwthelper.utils; | |
14 | |
15 import dwt.widgets.Event; | 15 import dwt.widgets.Event; |
16 import dwt.events.MouseEvent; | |
16 | 17 |
17 /** | 18 /** |
18 * Instances of this class are sent as a result of | 19 * Instances of this class are sent as a result of |
19 * a drag gesture. | 20 * a drag gesture. |
20 * | 21 * |
21 * @see DragDetectListener | 22 * @see DragDetectListener |
22 * | 23 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> |
24 * | |
23 * @since 3.3 | 25 * @since 3.3 |
24 */ | 26 */ |
25 | 27 |
26 public final class DragDetectEvent : MouseEvent { | 28 public final class DragDetectEvent : MouseEvent { |
27 | 29 |
28 private static final long serialVersionUID = -7229172519733647232L; | 30 //private static final long serialVersionUID = -7229172519733647232L; |
29 | 31 |
30 /** | 32 /** |
31 * Constructs a new instance of this class based on the | 33 * Constructs a new instance of this class based on the |
32 * information in the given untyped event. | 34 * information in the given untyped event. |
33 * | 35 * |