public static class RMUndoer.RMUndoEvent extends RMObject
Constructor and Description |
---|
RMUndoEvent()
Creates a new empty undo event.
|
Modifier and Type | Method and Description |
---|---|
void |
addDirtyObject(RMObject anObject)
Adds a dirty object to the dirty object list (and a copy to dirty objects copy list).
|
RMObject |
getDirtyObject(int anIndex)
Returns the specific dirty object at given index.
|
RMObject |
getDirtyObjectCopy(int anIndex)
Returns the specific dirty object copy at the given index.
|
int |
getDirtyObjectCount()
Returns the number of dirty objects.
|
java.lang.String |
getFullRedoTitle()
Returns the full title of this undo when used for redo.
|
java.lang.String |
getFullUndoTitle()
Returns the full title of this undo when used for undo.
|
java.util.List |
getRedoSelectedObjects()
Returns the list of objects to be selected if redo is executed.
|
java.util.List |
getUndoSelectedObjects()
Returns the list of objects to be selected if undo is executed.
|
void |
removeUnchangedDirtyObjects()
Removes any dirty objects that haven't really changed.
|
void |
reset()
Resets this undo event for reuse.
|
void |
undo()
Executes undo for this event.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public int getDirtyObjectCount()
public RMObject getDirtyObject(int anIndex)
public RMObject getDirtyObjectCopy(int anIndex)
public void addDirtyObject(RMObject anObject)
public java.util.List getUndoSelectedObjects()
public java.util.List getRedoSelectedObjects()
public void undo()
public void reset()
public void removeUnchangedDirtyObjects()
public java.lang.String getFullUndoTitle()
public java.lang.String getFullRedoTitle()