Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java
index 5ccaf11cb..5143a7b83 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Wind River - Pawel Piech - Initial Implementation - Drag/Drop to Expressions View (Bug 184057)
* IBM Corporation - further implementation and documentation
@@ -23,19 +23,19 @@ import org.eclipse.swt.dnd.Transfer;
/**
* Drag adapter for the variables view and expressions view. Allows selected variables and
* expressions to be dragged.
- *
+ *
* @see org.eclipse.debug.internal.ui.views.expression.ExpressionDropAdapter
* @since 3.4
*/
public class SelectionDragAdapter extends DragSourceAdapter implements TransferDragSourceListener {
-
+
/**
* The associated viewer for the adapter
*/
private TreeModelViewer fViewer;
-
+
/**
- * Constructor, takes the viewer that contains the selection provider
+ * Constructor, takes the viewer that contains the selection provider
* @param view the associated view, <b>must</b> implement <code>ISelectionProvider</code>
*/
public SelectionDragAdapter(TreeModelViewer viewer) {
@@ -50,7 +50,7 @@ public class SelectionDragAdapter extends DragSourceAdapter implements TransferD
public Transfer getTransfer() {
return LocalSelectionTransfer.getTransfer();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.swt.dnd.DragSourceAdapter#dragStart(org.eclipse.swt.dnd.DragSourceEvent)
*/
@@ -61,7 +61,7 @@ public class SelectionDragAdapter extends DragSourceAdapter implements TransferD
LocalSelectionTransfer.getTransfer().setSelectionSetTime(event.time & 0xFFFFFFFFL);
event.doit = !selection.isEmpty();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.swt.dnd.DragSourceAdapter#dragSetData(org.eclipse.swt.dnd.DragSourceEvent)
*/
@@ -80,5 +80,5 @@ public class SelectionDragAdapter extends DragSourceAdapter implements TransferD
public void dragFinished(DragSourceEvent event) {
LocalSelectionTransfer.getTransfer().setSelection(null);
LocalSelectionTransfer.getTransfer().setSelectionSetTime(0);
- }
+ }
}

Back to the top