+ srv.toString());
Jws2Instance service = new Jws2Instance(jwsservers, srv.toString(), service2);
- services.add(service);
- service.getParamStore();
+ services.add(service);
+ // retrieve the presets and parameter set and cache now
+ service.getParamStore().getPresets();
+ service.hasParameters();
}
public class Jws2Instance
return hosturl+(hosturl.lastIndexOf("/")==(hosturl.length()-1) ? "/" : "") +serviceType;
}
private boolean hasParams=false,lookedForParams=false;
+
public boolean hasParameters()
{
if (!lookedForParams)
boolean hasparams = service.hasParameters();
do
{
+ String action="Align ";
if (submitGaps == true)
{
- msawsmenu = new JMenu("profile " + svcname);
+ action="Realign ";
+ msawsmenu = new JMenu("Realign with " + svcname);
+ msawsmenu.setToolTipText("Align sequences to an existing alignment");
rmsawsmenu.add(msawsmenu);
}
final boolean withGaps = submitGaps;
JMenuItem method = new JMenuItem(calcName + "Defaults");
- method.setToolTipText("Align with default settings");
+ method.setToolTipText(action+"with default settings");
method.addActionListener(new ActionListener()
{