Mercurial > projects > dwt-mac
diff dwt/dnd/DragSourceEffect.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 1a8b3cb347e0 |
children | bc175cd0484a |
line wrap: on
line diff
--- a/dwt/dnd/DragSourceEffect.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/dnd/DragSourceEffect.d Mon Dec 01 17:07:00 2008 +0100 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 IBM Corporation and others. + * Copyright (c) 2007, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,10 +8,12 @@ * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ -module dwt.dnd; +module dwt.dnd.DragSourceEffect; -import dwt.*; -import dwt.widgets.*; +import dwt.dwthelper.utils; + +import dwt.DWT; +import dwt.widgets.Control; /** * This class provides default implementations to display a drag source @@ -32,10 +34,11 @@ * * @see DragSourceAdapter * @see DragSourceEvent + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> * * @since 3.3 */ -public class DragSourceEffect : DragSourceAdapter { +public class DragSourceEffect extends DragSourceAdapter { Control control = null; /** @@ -47,7 +50,7 @@ * <li>ERROR_NULL_ARGUMENT - if the control is null</li> * </ul> */ - public this(Control control) { + public DragSourceEffect(Control control) { if (control is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); this.control = control; }