From 663e58dcf0754621ce271a657da649fae653ba35 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 25 Jun 2020 13:53:44 +0100 Subject: [PATCH] JAL-2010 unused prototype method removed --- .../ext/rbvi/chimera/JalviewChimeraBinding.java | 28 -------------------- 1 file changed, 28 deletions(-) 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. *

-- 1.7.10.2