public void stackUp ( final Undoable command ) { // Stack up the command this . commandStack . add ( command ) ; // Call the redo method of the Undoable command this . commandStack . get ( this . commandStack . size ( ) - 1 ) . run ( WBuilder . wave ( ) . addDatas ( WBuilder . waveData ( UndoRedoWaves . UNDO_REDO , false ) ) ) ; }
Stack up a command .