/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*/
public void mouseMoved(MouseEvent e)
{
- int seq = Math.max(0, alignPanel.seqPanel.findSeq(e));
+ SeqPanel sp = alignPanel.seqPanel;
+ int seq = Math.max(0, sp.findSeq(e));
String tmp;
if (seq > -1 && seq < av.alignment.getHeight())
{
{
int sz = -tip.length();
tfeat[0] = features[i];
- SeqPanel.appendFeatures(tip, linkImageURL, 0, tfeat);
+ sp.appendFeatures(tip, linkImageURL, 0, tfeat,sp.seqCanvas.fr.minmax);
sz+=tip.length();
maxWidth = Math.max(maxWidth, sz);
}
tip.append("</html>");
setToolTipText("<html>" + sequence.getDisplayId(true)
- + tip.toString());
+ + " "+tip.toString());
}
}
{
selectSeqs(lastid + 1, seq);
}
-
+
lastid = seq;
alignPanel.paintAlignment(true);
}
jalview.gui.PopupMenu pop = new jalview.gui.PopupMenu(alignPanel,
sq,
- nlinks);
+ nlinks, new Vector(Preferences.getGroupURLLinks()));
pop.show(this, e.getX(), e.getY());
return;
{
selectSeq(seq);
}
- av.sendSelection();
alignPanel.paintAlignment(true);
}
av.getAlignment().getSequenceAt(i), true);
}
}
-
/**
* DOCUMENT ME!
*
{
scrollThread.running = false;
}
+// if (mouseDragging)
+ {
+ // always send selection message when mouse is released
+ av.sendSelection();
+
+ }
mouseDragging = false;
PaintRefresher.Refresh(this, av.getSequenceSetId());