From 9d6a8dc7426c9a27fd9cd702805c1797e7f78c3f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 25 May 2018 10:47:11 +0100 Subject: [PATCH] JAL-1460 javadoc --- src/jalview/gui/Desktop.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 04487e0..9d5cabd 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -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 files, List protocols, DropTargetDropEvent evt, Transferable t) throws Exception -- 1.7.10.2