Examples of acceleratableAction()


Examples of org.freeplane.core.ui.MenuBuilder.acceleratableAction()

      final MenuBuilder menuBuilder = modeController.getUserInputListenerFactory().getMenuBuilder(MenuBuilder.class);
      menuBuilder.removeChildElements(MENU_CATEGORY);
      List<AFreeplaneAction> openMapActions = createOpenLastMapActionList();
      for(AFreeplaneAction openMapAction:openMapActions)
      {
        final IFreeplaneAction acceleratableAction = menuBuilder.acceleratableAction(openMapAction);
        final JMenuItem item = new JFreeplaneMenuItem(acceleratableAction);
        item.setMnemonic(0);
        menuBuilder.addMenuItem(MENU_CATEGORY, item, MENU_CATEGORY + '/' + openMapAction.getKey(),
            UIBuilder.AS_CHILD);
      }
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.