]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/DragSourceListenerFactory.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / widgets / DragSourceListenerFactory.java
diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/DragSourceListenerFactory.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/widgets/DragSourceListenerFactory.java
new file mode 100644 (file)
index 0000000..8fd2e66
--- /dev/null
@@ -0,0 +1,10 @@
+package org.simantics.browsing.ui.swt.widgets;\r
+\r
+import org.eclipse.jface.viewers.ISelectionProvider;\r
+import org.eclipse.swt.dnd.DragSourceListener;\r
+import org.eclipse.swt.dnd.Transfer;\r
+\r
+public interface DragSourceListenerFactory {\r
+    DragSourceListener get(ISelectionProvider selectionProvider);\r
+    Transfer[] getTransfers();\r
+}
\ No newline at end of file