this.description = description;\r
}\r
\r
- public EditCommand(String description,\r
- int command,\r
- SequenceI[] seqs,\r
- int position,\r
- int number,\r
- char gapChar)\r
- {\r
- this.description = description;\r
-\r
- if (command==INSERT_GAP || command==DELETE_GAP)\r
- {\r
- edits = new Edit[] { new Edit(command, seqs, position, number, gapChar)};\r
- }\r
-\r
- performEdit(0);\r
- }\r
-\r
public EditCommand( String description,\r
int command,\r
SequenceI[] seqs,\r
{\r
command.al.deleteSequence(command.seqs[i]);\r
}\r
+\r
+\r
}\r
}\r
\r
command.string[i] = null;\r
}\r
command.seqs[i].setSequence(tmp.toString());\r
+\r
+\r
+\r
}\r
\r
command.string = null;\r
this.position = position;\r
this.number = number;\r
this.al = al;\r
+\r
alIndex = new int[seqs.length];\r
for(int i=0; i<seqs.length; i++)\r
alIndex[i] = al.findIndex(seqs[i]);\r