Examples of undoableToggleHook()


Examples of org.freeplane.features.edge.mindmapmode.AutomaticEdgeColorHook.undoableToggleHook()

        mAutomaticEdgeColorCheckBox = new JCheckBox();
        mAutomaticEdgeColorCheckBox.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            final ModeController modeController = Controller.getCurrentModeController();
            AutomaticEdgeColorHook al = (AutomaticEdgeColorHook) modeController.getExtension(AutomaticEdgeColorHook.class);
            al.undoableToggleHook(Controller.getCurrentController().getMap().getRootNode());
          }
        });
      }
      final String label = TextUtils.getText("AutomaticEdgeColorHookAction.text");
      rightBuilder.append(new JLabel(label), 5);
View Full Code Here

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

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

      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

Examples of org.freeplane.features.styles.AutomaticLayoutController.undoableToggleHook()

        mAutomaticEdgeColorCheckBox = new JCheckBox();
        mAutomaticEdgeColorCheckBox.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            final ModeController modeController = Controller.getCurrentModeController();
            AutomaticEdgeColorHook al = (AutomaticEdgeColorHook) modeController.getExtension(AutomaticEdgeColorHook.class);
            al.undoableToggleHook(Controller.getCurrentController().getMap().getRootNode());
          }
        });
      }
      final String label = TextUtils.getText("AutomaticEdgeColorHookAction.text");
      rightBuilder.append(new JLabel(label), 5);
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.