Package org.freeplane.features.clipboard

Examples of org.freeplane.features.clipboard.MindMapNodesSelection


 

  @Override
    public Transferable copy(IMapSelection selection) {
      final List<NodeModel> collection = selection.getSortedSelection(true);
    final MindMapNodesSelection transferable = copy(collection, false);
    transferable.setNodeObjects(collection);
    return transferable;
    }
View Full Code Here


    return transferable;
    }

  Transferable cut(final List<NodeModel> collection) {
    Controller.getCurrentModeController().getMapController().sortNodesByDepth(collection);
    final MindMapNodesSelection transferable = copy(collection, true);
    for (final NodeModel node : collection) {
      if (node.getParentNode() != null) {
        ((MMapController) Controller.getCurrentModeController().getMapController()).deleteNode(node);
      }
    }
View Full Code Here

TOP

Related Classes of org.freeplane.features.clipboard.MindMapNodesSelection

Copyright © 2018 www.massapicom. 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.