Examples of delayedCommit()


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

  }

  public void delayedCommit() {
    final MMapModel map = (MMapModel) getController().getMap();
    final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
    undoHandler.delayedCommit();
  }

  public void delayedRollback() {
    final MMapModel map = (MMapModel) getController().getMap();
    final IUndoHandler undoHandler = map.getExtension(IUndoHandler.class);
View Full Code Here

Examples of org.freeplane.features.mode.mindmapmode.MModeController.delayedCommit()

    final Object size = this.size.getSelectedItem();
    final int iSize = Integer.parseInt(size.toString());
    model.getAttributeController().performSetFontSize(model, iSize);
    model.applyChanges();
    final MModeController modeController = (MModeController) Controller.getCurrentModeController();
    modeController.delayedCommit();
    final MapController mapController = modeController.getMapController();
    final MapModel map = Controller.getCurrentController().getMap();
    assert(AttributeRegistry.getRegistry(map) == model);
    mapController.setSaved(map, false);
  }
View Full Code Here

Examples of org.freeplane.features.mode.mindmapmode.MModeController.delayedCommit()

          modeController.delayedRollback();
          ScriptingEngine.showScriptExceptionErrorMessage(ex);
          return;
        }
      }
      modeController.delayedCommit();
    }
    finally {
      Controller.getCurrentController().getViewController().setWaitingCursor(false);
    }
  }
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.