public class SwingInsertTokensEdit<T> extends SwingInsertRemoveTokensEdit<T>
AlignmentModel.SwingUndoAlignmentModelbeginIndex, 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, removegetBeginIndex, getPresentationName, getSequenceID, getTokensgetModel, registerDocumentChangeaddEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, setIsSubeditpublic 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.UndoableEditredo in class AbstractDocumentEditjavax.swing.undo.CannotRedoExceptionpublic void undo() throws javax.swing.undo.CannotUndoException
undo in interface javax.swing.undo.UndoableEditundo in class AbstractDocumentEditjavax.swing.undo.CannotUndoExceptionprotected java.lang.String getOperationName()
getOperationName in class SwingTokenEdit<T>