Package org.freeplane.features.map

Examples of org.freeplane.features.map.FoldingController


    }
  }

  private void showFoldingPopup(MouseEvent e) {
    ModeController mc = Controller.getCurrentController().getModeController();
    final FoldingController foldingController = mc.getExtension(FoldingController.class);
    if(foldingController == null)
      return;
    final NodeView nodeView = nodeSelector.getRelatedNodeView(e);
    final JPopupMenu popupmenu = foldingController.createFoldingPopupMenu(nodeView.getModel());
    AutoHide.start(popupmenu);
    new NodePopupMenuDisplayer().showMenuAndConsumeEvent(popupmenu, e);
    }
View Full Code Here


    userInputListenerFactory.addToolBar("/main_toolbar", ViewController.TOP, toolBar);
    userInputListenerFactory.addToolBar("/filter_toolbar", ViewController.BOTTOM, FilterController.getController(
        controller).getFilterToolbar());
    userInputListenerFactory.addToolBar("/status", ViewController.BOTTOM, controller.getViewController()
        .getStatusBar());
    FoldingController.install(new FoldingController());
    new ViewerController();
    EncryptionController.install(new EncryptionController(modeController));
    new AutomaticLayoutController();
    new CloneStateIconSupplier().registerStateIconProvider();
    return modeController;
View Full Code Here

    modeController.addAction(new EditAttributesAction());
    SpellCheckerController.install(modeController);
    ExportController.install(new ExportController("/xml/ExportWithXSLT.xml"));
    MapStyle.install(true);
    new RevisionPlugin();
    FoldingController.install(new FoldingController());
  }
View Full Code Here

    userInputListenerFactory.getAcceleratorManager().addAcceleratorChangeListener(fButtonToolBar);
    userInputListenerFactory.addToolBar("/icon_toolbar", ViewController.LEFT, ((MIconController) IconController
        .getController()).getIconToolBarScrollPane());
    modeController.addAction(new ToggleToolbarAction("ToggleLeftToolbarAction", "/icon_toolbar"));
    new RevisionPlugin();
    FoldingController.install(new FoldingController());

    uiFactory = new MUIFactory();
    mapController.addNodeChangeListener(uiFactory);
    mapController.addNodeSelectionListener(uiFactory);
    mapController.addMapChangeListener(uiFactory);
View Full Code Here

TOP

Related Classes of org.freeplane.features.map.FoldingController

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.