Mercurial > projects > dwt-mac
changeset 96:bc175cd0484a
Ported dwt.dnd.DragSourceEffect
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 30 Dec 2008 20:52:35 +0100 |
parents | 52007db1276d |
children | d5f4a7c8aa74 |
files | dwt/dnd/DragSourceEffect.d |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dnd/DragSourceEffect.d Tue Dec 30 20:51:17 2008 +0100 +++ b/dwt/dnd/DragSourceEffect.d Tue Dec 30 20:52:35 2008 +0100 @@ -7,6 +7,9 @@ * * Contributors: * IBM Corporation - initial API and implementation + * + * Port to the D programming language: + * Jacob Carlborg <doob@me.com> *******************************************************************************/ module dwt.dnd.DragSourceEffect; @@ -15,6 +18,8 @@ import dwt.DWT; import dwt.widgets.Control; +import dwt.dnd.DragSourceAdapter; + /** * This class provides default implementations to display a drag source * effect during a drag and drop operation. The current implementation @@ -38,7 +43,7 @@ * * @since 3.3 */ -public class DragSourceEffect extends DragSourceAdapter { +public class DragSourceEffect : DragSourceAdapter { Control control = null; /** @@ -50,7 +55,7 @@ * <li>ERROR_NULL_ARGUMENT - if the control is null</li> * </ul> */ - public DragSourceEffect(Control control) { + public this(Control control) { if (control is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); this.control = control; }