From: gmungoc Date: Thu, 25 Jun 2020 12:53:44 +0000 (+0100) Subject: JAL-2010 unused prototype method removed X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~42 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=663e58dcf0754621ce271a657da649fae653ba35;p=jalview.git JAL-2010 unused prototype method removed --- diff --git a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java index c8875b4..487e93b 100644 --- a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java +++ b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java @@ -535,34 +535,6 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel } /** - * Send a 'show' command for all atoms in the currently selected columns - * - * TODO: pull up to abstract structure viewer interface - * - * @param vp - */ - public void highlightSelection(AlignmentViewPanel vp) - { - List cols = vp.getAlignViewport().getColumnSelection() - .getSelected(); - AlignmentI alignment = vp.getAlignment(); - StructureSelectionManager sm = getSsm(); - for (SequenceI seq : alignment.getSequences()) - { - /* - * convert selected columns into sequence positions - */ - int[] positions = new int[cols.size()]; - int i = 0; - for (Integer col : cols) - { - positions[i++] = seq.findPosition(col); - } - sm.highlightStructure(this, seq, positions); - } - } - - /** * Constructs and send commands to Chimera to set attributes on residues for * features visible in Jalview. *