super(alignFrame, preset, null);
if (alignFrame.getViewport().getAlignment().isNucleotide())
{
- JOptionPane
- .showMessageDialog(
- Desktop.desktop,
- sh.serviceType+" can only be used\nfor amino acid alignments.",
- "Wrong type of sequences!",
- JOptionPane.WARNING_MESSAGE);
+ JOptionPane.showMessageDialog(Desktop.desktop, sh.serviceType
+ + " can only be used\nfor amino acid alignments.",
+ "Wrong type of sequences!", JOptionPane.WARNING_MESSAGE);
return;
}
if (sh.action.toLowerCase().contains("conservation"))
{
- // Build an AACons style client - take alignment, return annotation for columns
+ // Build an AACons style client - take alignment, return annotation for
+ // columns
List<AlignCalcWorkerI> clnts = alignFrame.getViewport()
.getCalcManager()
}
if (sh.action.toLowerCase().contains("disorder"))
{
- // build IUPred style client. take sequences, returns annotation per sequence.
+ // build IUPred style client. take sequences, returns annotation per
+ // sequence.
if (!processParams(sh, editParams))
{
return;
{
boolean hasparams = service.hasParameters();
// Assume name ends in WS
- String calcName = service.serviceType.substring(0,service.serviceType.length()-2);
+ String calcName = service.serviceType.substring(0,
+ service.serviceType.length() - 2);
JMenuItem aacons = new JMenuItem(calcName + " Defaults");
aacons.addActionListener(new ActionListener()