public class SwingRenameSequenceEdit<T> extends SwingSequenceEdit<T>
AlignmentModel
.SwingUndoAlignmentModel
sequenceID
Constructor and Description |
---|
SwingRenameSequenceEdit(SwingUndoAlignmentModel<T> model,
java.lang.String sequenceID,
java.lang.String newName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
getSequenceID
getModel, registerDocumentChange
addEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, setIsSubedit
public SwingRenameSequenceEdit(SwingUndoAlignmentModel<T> model, java.lang.String sequenceID, java.lang.String newName)
public void redo() throws javax.swing.undo.CannotRedoException
redo
in interface javax.swing.undo.UndoableEdit
redo
in class AbstractDocumentEdit
javax.swing.undo.CannotRedoException
public void undo() throws javax.swing.undo.CannotUndoException
undo
in interface javax.swing.undo.UndoableEdit
undo
in class AbstractDocumentEdit
javax.swing.undo.CannotUndoException
public java.lang.String getPresentationName()