public class SwingInsertTokensEdit<T> extends SwingInsertRemoveTokensEdit<T>
AlignmentModel
.SwingUndoAlignmentModel
beginIndex, sequenceID, tokens
Constructor and Description |
---|
SwingInsertTokensEdit(SwingUndoAlignmentModel<T> provider,
String sequenceID,
int beginIndex,
Collection<? extends T> tokens) |
Modifier and Type | Method and Description |
---|---|
protected String |
getOperationName() |
void |
redo() |
void |
undo() |
insert, remove
getBeginIndex, getPresentationName, getSequenceID, getTokens
getProvider, registerDocumentChange
addEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, setIsSubedit
public SwingInsertTokensEdit(SwingUndoAlignmentModel<T> provider, String sequenceID, int beginIndex, Collection<? extends T> tokens)
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
protected String getOperationName()
getOperationName
in class SwingTokenEdit<T>