Examples of addButtonGroup()


Examples of org.pushingpixels.flamingo.api.common.JCommandButtonPanel.addButtonGroup()

                public JPopupPanel getPopupPanel(JCommandButton jcb) {
                    JCommandButtonPanel pluginsPanel = new JCommandButtonPanel(CommandButtonDisplayState.BIG);
                    Integer lastManipulatorType = null;
                    int group = 1;
                    pluginsPanel.addButtonGroup(NbBundle.getMessage(DataTableTopComponent.class, "DataTableTopComponent.general.actions.plugins.group.name", group));
                    for (final PluginGeneralActionsManipulator m : plugins) {
                        if (lastManipulatorType == null) {
                            lastManipulatorType = m.getType();
                        }
                        if (lastManipulatorType != m.getType()) {
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.JCommandButtonPanel.addButtonGroup()

                        if (lastManipulatorType == null) {
                            lastManipulatorType = m.getType();
                        }
                        if (lastManipulatorType != m.getType()) {
                            group++;
                            pluginsPanel.addButtonGroup(NbBundle.getMessage(DataTableTopComponent.class, "DataTableTopComponent.general.actions.plugins.group.name", group));
                        }
                        lastManipulatorType = m.getType();
                        pluginsPanel.addButtonToLastGroup(preparePluginGeneralActionsButton(m));
                    }
                    JCommandPopupMenu popup = new JCommandPopupMenu(pluginsPanel, 8, 8);
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.JCommandButtonPanel.addButtonGroup()

              targetPanel.removeAll();
              targetPanel.setLayout(new BorderLayout());
              JCommandButtonPanel secondary = new JRibbonApplicationMenuPopupPanelSecondary(primeEntry);
              secondary.setToShowGroupLabels(false);
              String groupDesc = menuName;
              secondary.addButtonGroup(groupDesc);
              List<AFreeplaneAction> openActions = lastOpenedList.createOpenLastMapActionList();
              for (AFreeplaneAction action : openActions) {
                String restoreable = (String) action.getValue(Action.DEFAULT);
                StringTokenizer tokens = new StringTokenizer(restoreable, ";");
                File file = lastOpenedList.createFileFromRestorable(tokens);
View Full Code Here

Examples of org.pushingpixels.flamingo.internal.ui.ribbon.appmenu.JRibbonApplicationMenuPopupPanelSecondary.addButtonGroup()

              targetPanel.removeAll();
              targetPanel.setLayout(new BorderLayout());
              JCommandButtonPanel secondary = new JRibbonApplicationMenuPopupPanelSecondary(primeEntry);
              secondary.setToShowGroupLabels(false);
              String groupDesc = menuName;
              secondary.addButtonGroup(groupDesc);
              List<AFreeplaneAction> openActions = lastOpenedList.createOpenLastMapActionList();
              for (AFreeplaneAction action : openActions) {
                String restoreable = (String) action.getValue(Action.DEFAULT);
                StringTokenizer tokens = new StringTokenizer(restoreable, ";");
                File file = lastOpenedList.createFileFromRestorable(tokens);
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.