Package org.freeplane.features.map

Examples of org.freeplane.features.map.MapController.displayNode()


      filterEditor.setSearchingDefaultCursor();
    }

    if(next != null){
      final MapController mapController = Controller.getCurrentModeController().getMapController();
      mapController.displayNode(next);
      selection.selectAsTheOnlyOneSelected(next);
      if (reFocusSearchInputField)
      {
        // this is called by Enter key listener in FilterConditionEditor
        // => we want to re-focus the search term input field so that one can hit enter
View Full Code Here


    for(;;){
      next = filterController.findNext(next, rootNode, Direction.FORWARD, condition);
      if(next == null){
        break;
      }
      mapController.displayNode(next);
      if(nodeFound){
        selection.toggleSelected(next);
      }
      else{
        selection.selectAsTheOnlyOneSelected(next);
View Full Code Here

          originallySelectedNode = mapController.getSelectedNode();
        else{
          deHighlight();
        }
        this.originallySelectedNode = originallySelectedNode;
        mapController.displayNode(node, nodesOriginallyFolded);
        mapController.select(node);
        pane.setToolTipText(node.getText());
        return true;
      }
      else {
View Full Code Here

      return;
    final Controller controller = Controller.getCurrentController();
    if (controller == null)
      return;
    final MapController mapController = controller.getModeController().getMapController();
    mapController.displayNode(originallySelectedNode);
    mapController.select(originallySelectedNode);
    foldOriginallyFolded(mapController);
    originallySelectedNode = null;
    pane.setToolTipText(null);
  }
View Full Code Here

    final MapController mapController = Controller.getCurrentModeController().getMapController();
    mapController.addNodeChangeListener(this);
    try{
      undoHandler.getUndoAction().actionPerformed(e);
    if(lastChangedNode != null){
      mapController.displayNode(lastChangedNode);
      controller.getSelection().selectAsTheOnlyOneSelected(lastChangedNode);
      lastChangedNode = null;
    }
    }
    finally{
View Full Code Here

    final MapController mapController = Controller.getCurrentModeController().getMapController();
    mapController.addNodeChangeListener(this);
    try{
    undoHandler.getRedoAction().actionPerformed(e);
    if(lastChangedNode != null){
      mapController.displayNode(lastChangedNode);
      controller.getSelection().selectAsTheOnlyOneSelected(lastChangedNode);
      lastChangedNode = null;
    }
    undo.setEnabled(undoHandler.canUndo());
    setEnabled(undoHandler.canRedo());
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.