From: jprocter Date: Thu, 4 Oct 2007 16:37:59 +0000 (+0000) Subject: selected region output also supports generation of annotations X-Git-Tag: Release_2_4~249 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e5817172683acab3d5f51789fdf44f7a9106c8dd;p=jalview.git selected region output also supports generation of annotations --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 2068b0b..01a0907 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -1302,16 +1302,22 @@ public class PopupMenu String[] omitHidden = null; - if (ap.av.hasHiddenColumns) - { - System.out.println("PROMPT USER HERE"); - omitHidden = ap.av.getViewAsString(true); + System.out.println("PROMPT USER HERE"); // TODO: decide if a prompt happens or we simply trust the user wants wysiwig behaviour + SequenceGroup sg = ap.av.getSelectionGroup(); + ColumnSelection csel = new ColumnSelection(ap.av.getColumnSelection()); + omitHidden = ap.av.getViewAsString(true); + Alignment oal = new Alignment(ap.av.getSequenceSelection()); + AlignmentAnnotation[] nala = ap.av.alignment.getAlignmentAnnotation(); + for (int i=0; i