X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FSequenceAnnotationWSClient.java;h=8befb2a134fc6e5cab8136c69abfe6a4dd4fbb13;hb=e341b16beaae6c54348381d4a0bc11f094246067;hp=45bddace0aee01d66aafd74ed3e4d40c4e12999d;hpb=42a9157ffcdeb7292b7b9fd0e13db94e99af0bef;p=jalview.git diff --git a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java index 45bddac..8befb2a 100644 --- a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java +++ b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java @@ -128,7 +128,7 @@ public class SequenceAnnotationWSClient extends Jws2Client worker.updateParameters(this.preset, paramset); } } - if (sh.action.toLowerCase().contains("disorder")) + if (sh.getAction().toLowerCase().contains("disorder")) { // build IUPred style client. take sequences, returns annotation per // sequence. @@ -156,6 +156,7 @@ public class SequenceAnnotationWSClient extends Jws2Client * @see jalview.ws.jws2.Jws2Client#attachWSMenuEntry(javax.swing.JMenu, * jalview.ws.jws2.jabaws2.Jws2Instance, jalview.gui.AlignFrame) */ + @Override public void attachWSMenuEntry(JMenu wsmenu, final Jws2Instance service, final AlignFrame alignFrame) { @@ -166,8 +167,8 @@ public class SequenceAnnotationWSClient extends Jws2Client } boolean hasparams = service.hasParameters(); // Assume name ends in WS - String calcName = service.serviceType.substring(0, - service.serviceType.length() - 2); + String calcName = service.getName().substring(0, + service.getName().length() - 2); JMenuItem annotservice = new JMenuItem(MessageManager.formatMessage( "label.calcname_with_default_settings", new String[] @@ -193,6 +194,7 @@ public class SequenceAnnotationWSClient extends Jws2Client annotservice.addActionListener(new ActionListener() { + @Override public void actionPerformed(ActionEvent e) { new SequenceAnnotationWSClient(service, alignFrame, null, true); @@ -217,6 +219,7 @@ public class SequenceAnnotationWSClient extends Jws2Client + "
" + preset.getDescription())); methodR.addActionListener(new ActionListener() { + @Override public void actionPerformed(ActionEvent e) { new SequenceAnnotationWSClient(service, alignFrame, preset,