import jalview.ws2.slivka.SlivkaWSDiscoverer;
import jalview.ws2.WebServiceDiscovererI;
import jalview.ws2.gui.WebServicesMenuBuilder;
+import jalview.ws2.hmmer.PhmmerWSDiscoverer;
import jalview.ws2.operations.Operation;
import java.io.IOException;
buildWebServicesMenu(discoverer, submenu);
webService.add(submenu);
}
+ if (Cache.getDefault("SHOW_EBI_SERVICES", true))
+ {
+ PhmmerWSDiscoverer discoverer = PhmmerWSDiscoverer.getInstance();
+ JMenu submenu = new JMenu("EBI");
+ buildWebServicesMenu(discoverer, submenu);
+ webService.add(submenu);
+ }
if (Cache.getDefault("SHOW_JWS2_SERVICES", true))
{
WSDiscovererI jws2servs = Jws2Discoverer.getInstance();
{
tasks.add(jalview.ws2.slivka.SlivkaWSDiscoverer.getInstance().startDiscoverer());
}
+ if (Cache.getDefault("SHOW_EBI_SERVICES", true))
+ {
+ tasks.add(jalview.ws2.hmmer.PhmmerWSDiscoverer.getInstance().startDiscoverer());
+ }
if (blocking)
{
for (Future<?> task : tasks) {
@Override
public String getHostName()
{
- // TODO Auto-generated method stub
- return null;
+ return client.getUrl().toString();
}
@Override
reqBuilder.popen(Float.parseFloat(value));
break;
case "Gap Penalties[extend]":
- reqBuilder.popen(Float.parseFloat(value));
+ reqBuilder.pextend(Float.parseFloat(value));
break;
case "Gap Penalties[Substitution scoring matrix]":
reqBuilder.mx(value);