public class UndoableModifyGroup
extends javax.swing.undo.AbstractUndoableEdit
Constructor and Description |
---|
UndoableModifyGroup(GroupSelector gs,
GroupTreeNode groupsRoot,
GroupTreeNode node,
AbstractGroup newGroup) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRedoPresentationName() |
java.lang.String |
getUndoPresentationName() |
void |
redo() |
void |
undo() |
public UndoableModifyGroup(GroupSelector gs, GroupTreeNode groupsRoot, GroupTreeNode node, AbstractGroup newGroup)
node
- The node which still contains the old group.newGroup
- The new group to replace the one currently stored in node
.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