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