File: fix_code_to_support_latest_jmol

package info (click to toggle)
biojava4-live 4.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 107,220 kB
  • ctags: 31,849
  • sloc: java: 245,462; xml: 27,569; sh: 95; makefile: 72; python: 64
file content (26 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Subject: Latest JMOL library requires mode method definition
Author: Olivier Sallou <osallou@irisa.fr>
Description: Add required interface method from latest JMOL library definition
Last--Updated: 2012-05-29

--- a/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/jmol/MyJmolStatusListener.java
+++ b/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/jmol/MyJmolStatusListener.java
@@ -42,7 +42,17 @@
 	public void setTextField (JTextField statusField) {
 		status = statusField;
 	}
-	
+
+        public void resizeInnerPanel(java.lang.String arg0) {
+        }
+
+	public boolean notifyEnabled(org.jmol.constant.EnumCallback callback) {
+	  return false;
+        }
+
+	public void notifyCallback(EnumCallback type, Object[] data) {
+	}
+
 	public String createImage(String arg0, String arg1, Object arg2, int arg3) {
 		// TODO Auto-generated method stub
 		return null;