git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa59a84
)
JAL-3262 from JAL-3253-applet temp. Desktop instance hack
author
BobHanson
<hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:48:12 +0000
(16:48 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:48:12 +0000
(16:48 -0500)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
59541bb
..
eaf99be
100644
(file)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-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;
}
+
}