import jalview.datamodel.Annotation;
import jalview.gui.AlignFrame;
import jalview.gui.AlignmentPanel;
+import jalview.ws.jws2.dm.AAConsSettings;
import jalview.ws.jws2.jabaws2.Jws2Instance;
import jalview.ws.params.WsParamSetI;
nucleotidesAllowed = false;
proteinAllowed = true;
gapMap=new boolean[0];
+ initViewportParams();
}
+ protected void initViewportParams()
+ {
+ ((jalview.gui.AlignViewport) alignViewport).setCalcIdSettingsFor(getCalcId(), new AAConsSettings(true, service, this.preset, (arguments!=null) ? JabaParamStore.getJwsArgsfromJaba(arguments) : null), true);
+ }
+ @Override
+ public void updateParameters(WsParamSetI newpreset, java.util.List<Argument> newarguments) {
+ super.updateParameters(newpreset, newarguments);
+ initViewportParams();
+ };
public String getServiceActionText()
{
return "calculating Amino acid consensus using AACons service";