git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7159dfa
)
This constructor is never called
author
amwaterhouse
<Andrew Waterhouse>
Wed, 24 Jan 2007 17:29:38 +0000
(17:29 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 24 Jan 2007 17:29:38 +0000
(17:29 +0000)
src/jalview/commands/EditCommand.java
patch
|
blob
|
history
diff --git
a/src/jalview/commands/EditCommand.java
b/src/jalview/commands/EditCommand.java
index
be11d44
..
c1b4daf
100644
(file)
--- a/
src/jalview/commands/EditCommand.java
+++ b/
src/jalview/commands/EditCommand.java
@@
-54,23
+54,6
@@
public class EditCommand implements CommandI
this.description = description;
\r
}
\r
\r
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
public EditCommand( String description,
\r
int command,
\r
SequenceI[] seqs,
\r
@@
-217,6
+200,8
@@
public class EditCommand implements CommandI
{
\r
command.al.deleteSequence(command.seqs[i]);
\r
}
\r
{
\r
command.al.deleteSequence(command.seqs[i]);
\r
}
\r
+
\r
+
\r
}
\r
}
\r
\r
}
\r
}
\r
\r
@@
-255,6
+240,9
@@
public class EditCommand implements CommandI
command.string[i] = null;
\r
}
\r
command.seqs[i].setSequence(tmp.toString());
\r
command.string[i] = null;
\r
}
\r
command.seqs[i].setSequence(tmp.toString());
\r
+
\r
+
\r
+
\r
}
\r
\r
command.string = null;
\r
}
\r
\r
command.string = null;
\r
@@
-296,6
+284,7
@@
public class EditCommand implements CommandI
this.position = position;
\r
this.number = number;
\r
this.al = al;
\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
alIndex = new int[seqs.length];
\r
for(int i=0; i<seqs.length; i++)
\r
alIndex[i] = al.findIndex(seqs[i]);
\r