git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into bug/JAL-4059_update_swingJS_for_JalviewJS_2_11_2_and_2_11_3
[jalview.git]
/
src
/
jalview
/
gui
/
AppVarnaBinding.java
diff --git
a/src/jalview/gui/AppVarnaBinding.java
b/src/jalview/gui/AppVarnaBinding.java
index
ee4ef79
..
e5196cc
100644
(file)
--- a/
src/jalview/gui/AppVarnaBinding.java
+++ b/
src/jalview/gui/AppVarnaBinding.java
@@
-290,6
+290,8
@@
public class AppVarnaBinding extends JalviewVarnaBinding
}
_rnaList.add(varnaPanel.getConfig().clone(), r, name,
true);
}
_rnaList.add(varnaPanel.getConfig().clone(), r, name,
true);
+ // BH 2018 SwingJS clone of varnaPanel or its config will
+ // be the object itself, not a clone
}
}
}
}
}
}
@@
-545,7
+547,8
@@
public class AppVarnaBinding extends JalviewVarnaBinding
*/
public void addStructure(RNA rna)
{
*/
public void addStructure(RNA rna)
{
- VARNAConfig config = vp.getConfig().clone();
+ VARNAConfig config = vp.getConfig().clone(); // BH 2018 this will NOT be a
+ // clone in SwingJS
addStructure(rna, config);
}
addStructure(rna, config);
}
@@
-571,7
+574,8
@@
public class AppVarnaBinding extends JalviewVarnaBinding
} catch (ExceptionNAViewAlgorithm e)
{
// only throwable for draw mode = 3 NAView
} catch (ExceptionNAViewAlgorithm e)
{
// only throwable for draw mode = 3 NAView
- System.err.println("Error drawing RNA: " + e.getMessage());
+ jalview.bin.Console
+ .errPrintln("Error drawing RNA: " + e.getMessage());
}
}
}
}
}
}