1 | package de.uka.ipd.sdq.pcmbench.navigator; |
2 | |
3 | import org.eclipse.jface.viewers.IStructuredSelection; |
4 | import org.eclipse.swt.dnd.DragSourceEvent; |
5 | import org.eclipse.swt.dnd.Transfer; |
6 | import org.eclipse.ui.navigator.CommonDragAdapterAssistant; |
7 | import org.eclipse.ui.views.navigator.LocalSelectionTransfer; |
8 | |
9 | public class DragAssistant extends CommonDragAdapterAssistant { |
10 | |
11 | public DragAssistant() { |
12 | // TODO Auto-generated constructor stub |
13 | } |
14 | |
15 | @Override |
16 | public Transfer[] getSupportedTransferTypes() { |
17 | return new Transfer[]{}; |
18 | } |
19 | |
20 | @Override |
21 | public boolean setDragData(DragSourceEvent anEvent, |
22 | IStructuredSelection selection) { |
23 | return true; |
24 | } |
25 | |
26 | } |