From: Jim Procter Date: Fri, 25 May 2018 09:47:11 +0000 (+0100) Subject: JAL-1460 javadoc X-Git-Tag: Release_2_10_5~67^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=9d6a8dc7426c9a27fd9cd702805c1797e7f78c3f;p=jalview.git JAL-1460 javadoc --- 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