git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d300c87
)
JAL-4095 magic fill behaviour is PAE specific
author
James Procter
<j.procter@dundee.ac.uk>
Wed, 22 Feb 2023 12:42:58 +0000
(12:42 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Wed, 22 Feb 2023 12:42:58 +0000
(12:42 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
a97e0e4
..
82021ac
100755
(executable)
--- 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.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
/**
* 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)
{
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;
if (evt.isAltDown() || evt.isAltGraphDown())
{
dragMode = DragMode.MatrixSelect;
@@
-620,8
+622,10
@@
public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
}
av.getColumnSelection().addElement(currentX);
}
}
av.getColumnSelection().addElement(currentX);
}
+ // PAE SPECIFIC
// and also select everything lower than the max range adjacent
// (kind of works)
// 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);
{
int c = fr - 1;
ContactRange cr = forCurrentX.getRangeFor(fr, to);