Package org.jitterbit.application.ui.menu

Examples of org.jitterbit.application.ui.menu.MenuExtensionPoint


            List<ViewMenuItemFactory> newItems = ext.getItems();
            if (newItems == null || newItems.isEmpty()) {
                return;
            }
            List<ViewMenuItemFactory> newItemsClone = Lists.newArrayList(newItems);
            MenuExtensionPoint point = ext.getExtensionPoint();
            List<ViewMenuItemFactory> existingItems = extensions.get(point);
            if (existingItems == null) {
                extensions.put(point, newItemsClone);
            } else {
                existingItems.addAll(newItemsClone);
View Full Code Here


    }

    @Override
    public void addTopLevelExtensionsToWindow() {
        for (Map.Entry<Integer, ? extends Menu> menu : topLevelMenus.entrySet()) {
            MenuExtensionPoint pos = MenuExtensionPoint.fromId(menu.getKey());
            getMenuBar().addExtension(pos, menu.getValue(), InterchangeMenuDictionary.DICTIONARY);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.menu.MenuExtensionPoint

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.