public class SwingRemoveTokensEdit<T> extends SwingInsertRemoveTokensEdit<T>
AlignmentModel
.SwingUndoAlignmentModel
beginIndex, sequenceID, tokens
Constructor and Description |
---|
SwingRemoveTokensEdit(SwingUndoAlignmentModel<T> provider,
String sequenceID,
int beginIndex,
int endIndex) |
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 SwingRemoveTokensEdit(SwingUndoAlignmentModel<T> provider, String sequenceID, int beginIndex, int endIndex)
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>