com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client
Class HistoryManager<T>
java.lang.Object
com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HistoryManager<T>
public class HistoryManager<T>
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addUndoRedoSuscriber
public void addUndoRedoSuscriber(ModelProxy undoredo)
- TODO: Really necessary ?
- Parameters:
undoredo -
getInstance
public static <T> HistoryManager getInstance()
addModelToHistory
public void addModelToHistory(ModelProxy model,
T stateXModel)
addHistorizationHandler
public void addHistorizationHandler(ModelProxy model,
HistoryManager.IHistorizationHandler handler)
addCopyHandler
public void addCopyHandler(ModelProxy model,
HistoryManager.ICopyHandler handler)
getCopyHandlers
public java.util.List<HistoryManager.ICopyHandler> getCopyHandlers(ModelProxy modelProxy)
hasMoreUndo
public boolean hasMoreUndo(T model)
hasMoreRedo
public boolean hasMoreRedo(T model)
getUndoredoSuscribers
public java.util.HashSet<ModelProxy> getUndoredoSuscribers()
undo
public void undo(T model)
redo
public void redo(T model)
Copyright © 2010-2011 Petals Link. All Rights Reserved.