Must be able to find originating alignment modified
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Nov 2006 16:43:50 +0000 (16:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Nov 2006 16:43:50 +0000 (16:43 +0000)
src/jalview/commands/EditCommand.java

index 7218115..97448e0 100644 (file)
@@ -99,6 +99,11 @@ public class EditCommand implements CommandI
     return edits==null?0:edits.length;\r
   }\r
 \r
+  public AlignmentI getAlignment()\r
+  {\r
+    return edits[0].al;\r
+  }\r
+\r
 \r
   public void appendEdit(String command,\r
                          SequenceI[] seqs,\r