public class UndoableChangeAssignment
extends javax.swing.undo.AbstractUndoableEdit
| Constructor and Description |
|---|
UndoableChangeAssignment(java.util.Set<BibtexEntry> previousAssignment,
java.util.Set<BibtexEntry> currentAssignment)
Constructor for use in a group itself, where the enclosing node is
unknown.
|
UndoableChangeAssignment(java.util.Set<BibtexEntry> previousAssignment,
java.util.Set<BibtexEntry> currentAssignment,
GroupTreeNode node) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRedoPresentationName() |
java.lang.String |
getUndoPresentationName() |
void |
redo() |
void |
setEditedNode(GroupTreeNode node)
Sets the node of the group that was edited.
|
void |
undo() |
public UndoableChangeAssignment(java.util.Set<BibtexEntry> previousAssignment, java.util.Set<BibtexEntry> currentAssignment)
previousAssignment - currentAssignment - public UndoableChangeAssignment(java.util.Set<BibtexEntry> previousAssignment, java.util.Set<BibtexEntry> currentAssignment, GroupTreeNode node)
public void setEditedNode(GroupTreeNode node)
node - The node whose assignments were edited.public java.lang.String getUndoPresentationName()
getUndoPresentationName in interface javax.swing.undo.UndoableEditgetUndoPresentationName in class javax.swing.undo.AbstractUndoableEditpublic java.lang.String getRedoPresentationName()
getRedoPresentationName in interface javax.swing.undo.UndoableEditgetRedoPresentationName in class javax.swing.undo.AbstractUndoableEditpublic void undo()
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditpublic void redo()
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEdit