Package org.freeplane.features.clipboard.mindmapmode

Examples of org.freeplane.features.clipboard.mindmapmode.MClipboardController.duplicate()


    return appendBranchImpl(node, true);
  }

  private Proxy.Node appendBranchImpl(Proxy.NodeRO node, boolean withChildren) {
      final MClipboardController clipboardController = (MClipboardController) ClipboardController.getController();
    final NodeModel newNodeModel = clipboardController.duplicate(((NodeProxy) node).getDelegate(), withChildren);
    final MMapController mapController = (MMapController) getModeController().getMapController();
    mapController.insertNode(newNodeModel, getDelegate());
    return new NodeProxy(newNodeModel, getScriptContext());
    }
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.