Examples of updateMenus()


Examples of org.freeplane.features.ui.IMapViewManager.updateMenus()

      final URL menuStructure = ResourceController.getResourceController().getResource(menuStructureResource);
      loadStructure(plugins, menuStructure);
      final URL toolbarStructure = ResourceController.getResourceController().getResource(menuStructureResource.replace("menu.xml", "toolbar.xml"));
      loadStructure(plugins, toolbarStructure);
      final IMapViewManager viewController = Controller.getCurrentController().getMapViewManager();
      viewController.updateMenus(getMenuBuilder(MenuBuilder.class));
    }
    mapsPopupMenu.setName(TextUtils.getText("mindmaps"));
  }

  private void loadStructure(Set<String> plugins, final URL menuStructure) {
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.