# HG changeset patch # User Jacob Carlborg # Date 1230732169 -3600 # Node ID a84f60dde47ea537ca88c6cb1744471818dbfdf2 # Parent cbefbb00a6c9f0181396246a6b23de43b3f8d211 Ported dwt.dnd.TreeDragSourceEffect diff -r cbefbb00a6c9 -r a84f60dde47e dwt/dnd/TreeDragSourceEffect.d --- a/dwt/dnd/TreeDragSourceEffect.d Wed Dec 31 15:01:56 2008 +0100 +++ b/dwt/dnd/TreeDragSourceEffect.d Wed Dec 31 15:02:49 2008 +0100 @@ -7,6 +7,9 @@ * * Contributors: * IBM Corporation - initial API and implementation + * + * Port to the D programming language: + * Jacob Carlborg *******************************************************************************/ module dwt.dnd.TreeDragSourceEffect; @@ -14,6 +17,8 @@ import dwt.widgets.Tree; +import dwt.dnd.DragSourceEffect; + /** * This class provides default implementations to display a source image * when a drag is initiated from a Tree. @@ -31,14 +36,14 @@ * * @since 3.3 */ -public class TreeDragSourceEffect extends DragSourceEffect { +public class TreeDragSourceEffect : DragSourceEffect { /** * Creates a new TreeDragSourceEffect to handle drag effect * from the specified Tree. * * @param tree the Tree that the user clicks on to initiate the drag */ - public TreeDragSourceEffect(Tree tree) { + public this(Tree tree) { super(tree); } }