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.UndoableEdit
getUndoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
public java.lang.String getRedoPresentationName()
getRedoPresentationName
in interface javax.swing.undo.UndoableEdit
getRedoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
public void undo()
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
public void redo()
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit