Package org.freeplane.features.map

Examples of org.freeplane.features.map.FreeNode.undoableToggleHook()


    // Node: R/W
    public void setFree(boolean free) {
        final FreeNode freeNode = Controller.getCurrentModeController().getExtension(FreeNode.class);
        if (free != freeNode.isActive(getDelegate()))
            freeNode.undoableToggleHook(getDelegate());
    }
 
  // Node: R/W
  public void setMinimized(boolean shortened){
    final MTextController textController = (MTextController) TextController.getController();
View Full Code Here


      position--;
    }
    FreeNode r = Controller.getCurrentModeController().getExtension(FreeNode.class);
    final IExtension extension = node.getExtension(FreeNode.class);
        if (extension != null) {
          r.undoableToggleHook(node, extension);
          if (MapStyleModel.FLOATING_STYLE.equals(LogicalStyleModel.getStyle(node)))
            ((MLogicalStyleController)MLogicalStyleController.getController(getMModeController())).setStyle(node, null);
        }
    moveNode(node, selectedParent, position, isLeft, changeSide);
  }
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.