X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAppJmolBinding.java;h=3a376b89b96e74dd5657e5e827511270e36933e0;hb=c777b335d0332979123446f431b7f0c160eb4880;hp=c70380c997c48e963f87add8de6bdf2d43315e7f;hpb=c4ec878c9cb59fc40a88ed8ecdf5fda46f3de111;p=jalview.git diff --git a/src/jalview/gui/AppJmolBinding.java b/src/jalview/gui/AppJmolBinding.java index c70380c..3a376b8 100644 --- a/src/jalview/gui/AppJmolBinding.java +++ b/src/jalview/gui/AppJmolBinding.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -55,11 +55,11 @@ public class AppJmolBinding extends JalviewJmolBinding { AlignmentPanel ap = (alignment == null) ? appJmolWindow.getAlignmentPanel() : (AlignmentPanel) alignment; - if (ap.av.showSequenceFeatures) + if (ap.av.isShowSequenceFeatures()) { if (fr == null) { - fr = ap.cloneFeatureRenderer(); + fr = (jalview.gui.FeatureRenderer) ap.cloneFeatureRenderer(); } else { @@ -132,7 +132,7 @@ public class AppJmolBinding extends JalviewJmolBinding } if (!isLoadingFromArchive()) { - colourBySequence(ap.av.getShowSequenceFeatures(), ap); + colourBySequence(ap.av.isShowSequenceFeatures(), ap); } } @@ -173,25 +173,6 @@ public class AppJmolBinding extends JalviewJmolBinding appJmolWindow.showConsole(b); } - /** - * add the given sequences to the mapping scope for the given pdb file handle - * - * @param pdbFile - * - pdbFile identifier - * @param seq - * - set of sequences it can be mapped to - */ - public void addSequenceForStructFile(String pdbFile, SequenceI[] seq) - { - for (int pe = 0; pe < getPdbCount(); pe++) - { - if (getPdbEntry(pe).getFile().equals(pdbFile)) - { - addSequence(pe, seq); - } - } - } - @Override protected JmolAppConsoleInterface createJmolConsole(JmolViewer viewer2, Container consolePanel, String buttonsToShow)