GraphLab Project

graphlab.plugins.commonplugin.undo.undo
Class UndoLogManager

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.plugins.commonplugin.undo.undo.UndoLogManager
All Implemented Interfaces:
Action, Listener

public class UndoLogManager
extends AbstractAction


Field Summary
static java.lang.String EVENT_KEY
           
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
UndoLogManager(BlackBoard bb)
           
 
Method Summary
 UndoableActionOccuredData getNextRedoData()
          returns the data for the next undo action
 UndoableActionOccuredData getNextUndoData()
          returns the data for the next undo action
 void performAction(java.lang.String eventName, java.lang.Object value)
          Occurs when the undo log adds by an action
 
Methods inherited from class graphlab.platform.core.AbstractAction
disable, enable, getBlackBoard, getLastListenedEventKey, isEnable, keyChanged, listen4Event, setBlackBoard, unListenEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_KEY

public static final java.lang.String EVENT_KEY
See Also:
Constant Field Values
Constructor Detail

UndoLogManager

public UndoLogManager(BlackBoard bb)
Method Detail

performAction

public void performAction(java.lang.String eventName,
                          java.lang.Object value)
Occurs when the undo log adds by an action

Specified by:
performAction in interface Action
Specified by:
performAction in class AbstractAction
Parameters:
eventName -
value -

getNextUndoData

public UndoableActionOccuredData getNextUndoData()
returns the data for the next undo action


getNextRedoData

public UndoableActionOccuredData getNextRedoData()
returns the data for the next undo action


GraphLab Project