use of org.freeplane.core.undo.IUndoHandler in project freeplane by freeplane.
the class ControllerProxy method redo.
public void redo() {
final MapModel map = Controller.getCurrentController().getMap();
final IUndoHandler undoHandler = (IUndoHandler) map.getExtension(IUndoHandler.class);
undoHandler.redo();
}
use of org.freeplane.core.undo.IUndoHandler in project freeplane by freeplane.
the class MModeController method rollback.
@Override
public void rollback() {
final MapModel map = getController().getMap();
final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
undoHandler.rollback();
}
use of org.freeplane.core.undo.IUndoHandler in project freeplane by freeplane.
the class MModeController method addUndoableActor.
private void addUndoableActor(final IActor actor, final MapModel map) {
final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
undoHandler.addActor(actor);
}
use of org.freeplane.core.undo.IUndoHandler in project freeplane by freeplane.
the class MModeController method commit.
@Override
public void commit() {
final MapModel map = getController().getMap();
final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
undoHandler.commit();
}
use of org.freeplane.core.undo.IUndoHandler in project freeplane by freeplane.
the class MModeController method startTransaction.
@Override
public void startTransaction() {
final MapModel map = getController().getMap();
final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
undoHandler.startTransaction();
}
Aggregations