Mercurial > projects > dwt-mac
changeset 108:b0e5cad3d928
Ported dwt.dnd.TableDragSourceEffect
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 31 Dec 2008 14:48:35 +0100 |
parents | 6b8fcfda8b57 |
children | 23a31de4a3ab |
files | dwt/dnd/TableDragSourceEffect.d |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dnd/TableDragSourceEffect.d Wed Dec 31 14:48:00 2008 +0100 +++ b/dwt/dnd/TableDragSourceEffect.d Wed Dec 31 14:48: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.TableDragSourceEffect; @@ -14,6 +17,8 @@ import dwt.widgets.Table; +import dwt.dnd.DragSourceEffect; + /** * This class provides default implementations to display a source image * when a drag is initiated from a <code>Table</code>. @@ -32,14 +37,14 @@ * * @since 3.3 */ -public class TableDragSourceEffect extends DragSourceEffect { +public class TableDragSourceEffect : DragSourceEffect { /** * Creates a new <code>TableDragSourceEffect</code> to handle drag effect * from the specified <code>Table</code>. * * @param table the <code>Table</code> that the user clicks on to initiate the drag */ - public TableDragSourceEffect(Table table) { + public this(Table table) { super(table); } }