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