GraphLab Project

graphlab.plugins.commonplugin.undo.undo
Class UndoAction

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

public class UndoAction
extends AbstractAction


Field Summary
static java.lang.String EVENT_KEY
           
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
UndoAction(BlackBoard bb)
           
 
Method Summary
 void performAction(java.lang.String eventName, java.lang.Object value)
          like Action
static void undo(BlackBoard blackboard)
          undo the last undoabe operation done in the context of current blackboard
static void undo(UndoableActionOccuredData uaod)
          performs the undo operation for basic actions
 
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
Constructor Detail

UndoAction

public UndoAction(BlackBoard bb)
Method Detail

undo

public static void undo(UndoableActionOccuredData uaod)
performs the undo operation for basic actions


performAction

public void performAction(java.lang.String eventName,
                          java.lang.Object value)
Description copied from class: AbstractAction
like Action

Specified by:
performAction in interface Action
Specified by:
performAction in class AbstractAction

undo

public static void undo(BlackBoard blackboard)
undo the last undoabe operation done in the context of current blackboard

Parameters:
blackboard -

GraphLab Project