Examples of moveNodeAsChild()


Examples of org.freeplane.features.map.mindmapmode.MMapController.moveNodeAsChild()

            boolean changeSide = isLeft != node.isLeft();
                        if (dropAsSibling) {
                          mapController.moveNodeBefore(node, targetNode, isLeft, changeSide);
                        }
                        else {
                          mapController.moveNodeAsChild(node, targetNode, isLeft, changeSide);
                        }
          }
         
          if(dropAsSibling || ! targetNode.isFolded())
              controller.getSelection().replaceSelection(array);
View Full Code Here

Examples of org.freeplane.features.map.mindmapmode.MMapController.moveNodeAsChild()

  // Node: R/W
  public void moveTo(final Proxy.Node parentNodeProxy) {
    final NodeModel parentNode = ((NodeProxy) parentNodeProxy).getDelegate();
        final NodeModel movedNode = getDelegate();
        final MMapController mapController = (MMapController) getModeController().getMapController();
        mapController.moveNodeAsChild(movedNode, parentNode, movedNode.isLeft(), parentNode.isLeft() != movedNode.isLeft());
  }

  // Node: R/W
  public void moveTo(final Proxy.Node parentNodeProxy, final int position) {
        final NodeModel parentNode = ((NodeProxy) parentNodeProxy).getDelegate();
View Full Code Here

Examples of org.freeplane.features.map.mindmapmode.MMapController.moveNodeAsChild()

                case CLONE:
                  final NodeModel clone = clonedNode.cloneTree();
                  mapController.addNewNode(clone, target, target.getChildCount(), target.isNewChildLeft());
                  break;
                case MOVE:
                  mapController.moveNodeAsChild(clonedNode, target, target.isNewChildLeft(), target.isNewChildLeft()!=clonedNode.isLeft());
                  break;
              }
            }
          }
        }
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.