Package org.jitterbit.application.ui.menu

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


        return IncludeTransformationMenuPreference.get();
    }

    @Override
    public JMenu createJMenu(MenuDictionary md) {
        JMenuFactory f = new JMenuFactory(getID(), md);
        menu = f.createEmptyMenu();
        menu.getPopupMenu().addPopupMenuListener(new PopupMenuListener() {

            @Override
            public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
                populateMenu();
View Full Code Here


        this.menuFactory = menuFactory;
    }

    @Override
    public JMenuItem createMenuItem(ApplicationWindow appWin) {
        JMenu menu = new JMenuFactory(InterchangeMenus.FILE_NEW, InterchangeMenuDictionary.DICTIONARY).createEmptyMenu();
        menu.setEnabled(false);
        // XXX: These listeners will never be removed. That's OK (at least at the moment), because
        // the created menu will live for as long as the application.
        Listener lst = new Listener(menuFactory, menu);
        projectManager.addProjectManagerListener(lst);
View Full Code Here

TOP

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

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.