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:
eacce96
)
Parse id before making URL
author
amwaterhouse
<Andrew Waterhouse>
Tue, 29 Nov 2005 17:59:53 +0000
(17:59 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 29 Nov 2005 17:59:53 +0000
(17:59 +0000)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
6fd69f5
..
7413150
100755
(executable)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-222,6
+222,9
@@
public class PopupMenu extends JPopupMenu
String link = links.elementAt(i).toString();
\r
\r
item = new JMenuItem(link.substring(0, link.indexOf("|")));
\r
+ String id = sequence.getName();
\r
+ if(id.indexOf("|")>-1)
\r
+ id = id.substring(id.lastIndexOf("|")+1);
\r
\r
final String url = link.substring(link.indexOf("|")+1, link.indexOf("$SEQUENCE_ID$"))
\r
+ sequence.getName() +
\r