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