// or we simply trust the user wants
// wysiwig behaviour
- AlignmentView selvew = ap.av.getAlignmentView(true, false);
- AlignmentI aselview = selvew.getVisibleAlignment(ap.av
- .getGapCharacter());
- List<AlignmentAnnotation> ala = (ap.av
- .getVisibleAlignmentAnnotation(true));
- if (ala != null)
- {
- for (AlignmentAnnotation aa : ala)
- {
- aselview.addAnnotation(aa);
- }
- }
- cap.setText(new FormatAdapter().formatSequences(e.getActionCommand(),
- aselview, null, null, null));
+ cap.setText(new FormatAdapter().formatSequences(e.getActionCommand(), ap.av, true));
}
public void pdbFromFile_actionPerformed()