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:
103b87e
)
ensure host is shown for all non-host indexed submenus
author
jprocter
<Jim Procter>
Mon, 20 Sep 2010 06:43:12 +0000
(06:43 +0000)
committer
jprocter
<Jim Procter>
Mon, 20 Sep 2010 06:43:12 +0000
(06:43 +0000)
src/jalview/ws/jws2/Jws2Discoverer.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/jws2/Jws2Discoverer.java
b/src/jalview/ws/jws2/Jws2Discoverer.java
index
d6e4d78
..
1f3eee9
100644
(file)
--- a/
src/jalview/ws/jws2/Jws2Discoverer.java
+++ b/
src/jalview/ws/jws2/Jws2Discoverer.java
@@
-404,7
+404,7
@@
public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI
atpoint.setToolTipText(service.getActionText());
}
}
atpoint.setToolTipText(service.getActionText());
}
}
- if (!byhost && !hostLabels.contains(host + service.getActionText()))
+ if (!byhost && !hostLabels.contains(host + service.serviceType+service.getActionText()))
{
// add a marker indicating where this service is hosted
// relies on services from the same host being listed in a contiguous
{
// add a marker indicating where this service is hosted
// relies on services from the same host being listed in a contiguous
@@
-416,7
+416,7
@@
public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI
atpoint.add(hitm = new JMenuItem(host));
hitm.setForeground(Color.blue);
}
atpoint.add(hitm = new JMenuItem(host));
hitm.setForeground(Color.blue);
}
- hostLabels.addElement(lasthost=host);
+ hostLabels.addElement(host + service.serviceType+service.getActionText());
}
msacl.attachWSMenuEntry(atpoint, service, alignFrame);
/*
}
msacl.attachWSMenuEntry(atpoint, service, alignFrame);
/*