From: James Procter Date: Wed, 22 Feb 2023 12:42:58 +0000 (+0000) Subject: JAL-4095 magic fill behaviour is PAE specific X-Git-Tag: Release_2_11_3_0~18^2~10 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5830c6b18969d8eb7801b9df28ea9fb2c4dd5152;p=jalview.git JAL-4095 magic fill behaviour is PAE specific --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index a97e0e4..82021ac 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -70,6 +70,7 @@ import jalview.util.MessageManager; import jalview.util.Platform; import jalview.viewmodel.ViewportListenerI; import jalview.viewmodel.ViewportRanges; +import jalview.ws.datamodel.alphafold.PAEContactMatrix; /** * AnnotationPanel displays visible portion of annotation rows below unwrapped @@ -591,6 +592,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, if (aa[graphStretch].graph == AlignmentAnnotation.CONTACT_MAP) { + // data in row has position on y as well as x axis if (evt.isAltDown() || evt.isAltGraphDown()) { dragMode = DragMode.MatrixSelect; @@ -620,8 +622,10 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, } av.getColumnSelection().addElement(currentX); } + // PAE SPECIFIC // and also select everything lower than the max range adjacent // (kind of works) + if (PAEContactMatrix.PAEMATRIX.equals(aa[graphStretch].getCalcId())) { int c = fr - 1; ContactRange cr = forCurrentX.getRangeFor(fr, to);