Package org.pushingpixels.flamingo.api.ribbon

Examples of org.pushingpixels.flamingo.api.ribbon.RibbonApplicationMenuEntryFooter


          AFreeplaneAction action = context.getBuilder().getMode().getAction(key);
          if(action != null) {
            String title = ActionUtils.getActionTitle(action);
            ResizableIcon icon = ActionUtils.getActionIcon(action);
            ActionListener listener = new RibbonActionContributorFactory.RibbonActionListener(action);
            final RibbonApplicationMenuEntryFooter entry = new RibbonApplicationMenuEntryFooter(icon, title, listener);
            KeyStroke ks = context.getBuilder().getAcceleratorManager().getAccelerator(key);
            if(ks != null) {
              RichTooltip tip = RibbonActionContributorFactory.getRichTooltip(action, ks);
              if(tip != null) {
                entry.setActionRichTooltip(tip);
              }
            }
            parent.addChild(entry, new ChildProperties(parseOrderSettings(attributes.getProperty("orderPriority", ""))));
          }
        }
View Full Code Here

TOP

Related Classes of org.pushingpixels.flamingo.api.ribbon.RibbonApplicationMenuEntryFooter

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.