JAL-3262 from JAL-3253-applet temp. Desktop instance hack
authorBobHanson <hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:48:12 +0000 (16:48 -0500)
committerBobHanson <hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:48:12 +0000 (16:48 -0500)
src/jalview/gui/Desktop.java

index 59541bb..eaf99be 100644 (file)
@@ -204,6 +204,16 @@ public class Desktop extends jalview.jbgui.GDesktop
   /** Singleton Desktop instance */
   public static Desktop instance;
 
+  /**
+   * BH TEMPORARY ONLY -- should use ApplicationSingleton
+   * 
+   * @return
+   */
+  public static Object getInstance()
+  {
+    return instance;
+  }
+
   public static MyDesktopPane desktop;
 
   public static MyDesktopPane getDesktop()
@@ -3364,4 +3374,5 @@ public class Desktop extends jalview.jbgui.GDesktop
     }
     return result;
   }
+
 }