JAL-1460 javadoc
authorJim Procter <jprocter@issues.jalview.org>
Fri, 25 May 2018 09:47:11 +0000 (10:47 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 25 May 2018 09:47:11 +0000 (10:47 +0100)
src/jalview/gui/Desktop.java

index 04487e0..9d5cabd 100644 (file)
@@ -3297,6 +3297,21 @@ public class Desktop extends jalview.jbgui.GDesktop
     return groovyConsole;
   }
 
+  /**
+   * handles the payload of a drag and drop event.
+   * 
+   * TODO refactor to desktop utilities class
+   * 
+   * @param files
+   *          - Data source strings extracted from the drop event
+   * @param protocols
+   *          - protocol for each data source extracted from the drop event
+   * @param evt
+   *          - the drop event
+   * @param t
+   *          - the payload from the drop event
+   * @throws Exception
+   */
   public static void transferFromDropTarget(List<String> files,
           List<DataSourceType> protocols, DropTargetDropEvent evt,
           Transferable t) throws Exception