Modifier and Type | Method and Description |
---|---|
void |
addUndo(Object[] from,
Object[] to,
int[] pos,
org.pentaho.di.core.gui.Point[] prev,
org.pentaho.di.core.gui.Point[] curr,
int type_of_change,
boolean nextAlso)
Add an undo operation to the undo list
|
int |
getMaxUndo()
Get the maximum number of undo operations possible
|
TransAction |
nextUndo()
Get the next undo transaction on the list.
|
TransAction |
previousUndo()
Get the previous undo operation and change the undo pointer
|
void |
setMaxUndo(int mu)
Sets the maximum number of undo operations that are allowed.
|
TransAction |
viewNextUndo()
Get the next undo transaction on the list.
|
TransAction |
viewPreviousUndo()
View previous undo, don't change undo position
|
TransAction |
viewThisUndo()
View current undo, don't change undo position
|
void addUndo(Object[] from, Object[] to, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr, int type_of_change, boolean nextAlso)
from
- array of objects representing the old stateto
- array of objectes representing the new statepos
- An array of object locationsprev
- An array of points representing the old positionscurr
- An array of points representing the new positionstype_of_change
- The type of change that's being done to the transformation.nextAlso
- indicates that the next undo operation needs to follow this one.int getMaxUndo()
void setMaxUndo(int mu)
mu
- The maximum number of undo operations that are allowed.TransAction previousUndo()
TransAction viewThisUndo()
TransAction viewPreviousUndo()
TransAction nextUndo()
TransAction viewNextUndo()