Examples of KongaMenu


Examples of org.jitterbit.ui.widget.menu.KongaMenu

    private JMenu createJitterbitConnectMenu(InterchangeView view) {
        if (!config.useGroupForJitterbitConnect()) {
            return null;
        }
        JMenu menu = new KongaMenu("&Connect", ClientIcons.JITTERBIT_CONNECT_16);
        for (EntityType t : config.getConnectTypes()) {
            menu.add(createMenuItem(view, t));
        }
        return menu;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

    }

    @Override
    public JMenuItem createMenuItem(ApplicationWindow appWin) {
        MenuDictionary dict = MENU_DICTIONARY;
        KongaMenu menu = new KongaMenu(dict.getName(ID));
        menu.setMnemonic(dict.getMnemonic(ID));
        for (Action action : actions) {
            menu.add(new DefaultProxyAction(action, appWin.getViewManager()));
        }
        return menu;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

        this.actionIds = actionIds;
    }

    @Override
    public JMenuItem createMenuItem(ApplicationWindow appWin) {
        KongaMenu menu = new KongaMenu("&Copy");
        addMenuItems(appWin, menu);
        menu.disableIfAllItemsAreDisabled();
        return menu;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

    @Override
    public JMenuItem createMenuItem(ApplicationWindow appWin) {
        JMenu menu = null;
        if (PersistTestResultsProperty.ENABLED) {
            menu = new KongaMenu("Project Test History");
            addMenuItems(appWin, menu);
        }
        return menu;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

    public RecentlyClosedEditors(EditorService editorService) {
        this.editorService = editorService;
        editorService.addEditorServiceListener(new EditorListener());
        points = new LinkedList<EditorHistoryPoint>();
        menu = new KongaMenu("&Recently Closed");
        MenuDisabler.ignore(menu);
        menu.addMenuListener(new MenuListenerImpl());
        RecentlyClosedEditorsPreference.INSTANCE.addListener(new PreferenceListenerImpl());
        checkEnabledState();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

        this.actions = actions;
    }

    @Override
    protected PopupMenuItem createItem() {
        KongaMenu menu = new KongaMenu("&Copy");
        return new ItemImpl(menu);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

    private void addDebugMenuTo(JPopupMenu pm, boolean addSeparator) {
        if (addSeparator) {
            pm.addSeparator();
        }
        KongaMenu debug = new KongaMenu("Debug");
        debugActions.addToMenu(debug);
        pm.add(debug);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

     *            a <code>Receiver</code> that will be handed the <code>IntegrationEntity</code>
     *            that was selected in the menu
     * @return the created <code>KongaMenu</code>
     */
    public KongaMenu getMenu(String text, Icon icon, Receiver<T> callback) {
        KongaMenu menu = new KongaMenu(text, icon);
        for (JMenuItem item : buildMenu(callback)) {
            menu.add(item);
        }
        return menu;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.menu.KongaMenu

            e.printStackTrace();
        }
    }

    public JMenu getMarkerMenu() {
        KongaMenu m = new KongaMenu(UiResourceBundle.getString("TextMarker.Menu"));
        m.addActions(markActions);
        m.addSeparator();
        m.addActions(clearAction, clearAllAction);
        return m;
    }
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.