Mercurial > projects > dwt-mac
diff dwt/dnd/TreeDragSourceEffect.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 | a84f60dde47e |
line wrap: on
line diff
--- a/dwt/dnd/TreeDragSourceEffect.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/dnd/TreeDragSourceEffect.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,9 +8,11 @@ * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ -module dwt.dnd; +module dwt.dnd.TreeDragSourceEffect; -import dwt.widgets.*; +import dwt.dwthelper.utils; + +import dwt.widgets.Tree; /** * This class provides default implementations to display a source image @@ -25,17 +27,18 @@ * * @see DragSourceEffect * @see DragSourceEvent + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> * * @since 3.3 */ -public class TreeDragSourceEffect : DragSourceEffect { +public class TreeDragSourceEffect extends DragSourceEffect { /** * Creates a new <code>TreeDragSourceEffect</code> to handle drag effect * from the specified <code>Tree</code>. * * @param tree the <code>Tree</code> that the user clicks on to initiate the drag */ - public this(Tree tree) { + public TreeDragSourceEffect(Tree tree) { super(tree); } }