Package gov.nasa.arc.mct.gui.MenuItemInfo

Examples of gov.nasa.arc.mct.gui.MenuItemInfo.MenuItemType


                for (int sectionIndex = 0; sectionIndex < sections.size(); sectionIndex++) {
                    MenuSection section = sections.get(sectionIndex);
                    List<MenuItemInfo> menuItemInfoList = section.getMenuItemInfoList();
                   
                    for (MenuItemInfo info : menuItemInfoList) {
                        MenuItemType type = info.getType();
                        if (type == MenuItemType.SUBMENU) {
                            ContextAwareMenu submenu = ActionManager.getMenu(info.getCommandKey(), context);
                            if (submenu == null) continue;
                           
                            // Add a separator between sections
View Full Code Here


                for (int index = 0; index < sections.size(); index++) {
                    MenuSection section = sections.get(index);
                    List<MenuItemInfo> menuItemInfoList = section.getMenuItemInfoList();
                   
                    for (MenuItemInfo info : menuItemInfoList) {
                        MenuItemType type = info.getType();
                        if (type == MenuItemType.SUBMENU) {
                            ContextAwareMenu submenu = ActionManager.getMenu(info.getCommandKey(), context);
                            if (submenu == null) continue;

                            addSeparatorIfNecessary(index);
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.gui.MenuItemInfo.MenuItemType

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.