Examples of forceNewTransaction()


Examples of org.freeplane.core.undo.IUndoHandler.forceNewTransaction()

  @Override
  public void forceNewTransaction() {
    final MapModel map = getController().getMap();
    final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
    undoHandler.forceNewTransaction();
    }

  /**
   * This method is called after and before a change of the map mapView. Use
   * it to perform the actions that cannot be performed at creation time.
View Full Code Here

Examples of org.freeplane.features.mode.ModeController.forceNewTransaction()

  public NodeModel addFreeNode(final Point pt, final boolean newNodeIsLeft) {
    final ModeController modeController = Controller.getCurrentModeController();
    final TextController textController = TextController.getController();
    if (textController instanceof MTextController) {
      ((MTextController) textController).stopEditing();
        modeController.forceNewTransaction();
    }
    final NodeModel target = getRootNode();
    final NodeModel targetNode = target;
    final boolean parentFolded = isFolded(targetNode);
    if (parentFolded) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.