Examples of addActions()


Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

    public KongaPopupMenu createMenu(EmailWrapperNode node) {
        DeleteNodeAction delete = new DeleteNodeAction(controller);
        delete.setSelection(SelectionFactory.newOrderedSelection(node));
        KongaPopupMenu pm = new KongaPopupMenu();
        pm.addActions(getEditEmailActions(node));
        pm.addActions(new RenameNodeAction(controller, node),
                      new LocateInTreeAction(controller, node),
                      null,
                      controller.getDeploySelectedItemsAction(),
                      new ViewValidationMessagesAction(controller.getGraph(), node),
View Full Code Here

Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

    public KongaPopupMenu createMenu(EmailWrapperNode node) {
        DeleteNodeAction delete = new DeleteNodeAction(controller);
        delete.setSelection(SelectionFactory.newOrderedSelection(node));
        KongaPopupMenu pm = new KongaPopupMenu();
        pm.addActions(getEditEmailActions(node));
        pm.addActions(new RenameNodeAction(controller, node),
                      new LocateInTreeAction(controller, node),
                      null,
                      controller.getDeploySelectedItemsAction(),
                      new ViewValidationMessagesAction(controller.getGraph(), node),
                      controller.getSetPermissionsAction(),
View Full Code Here

Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

            List<Action> menuActions = getActionsToIncludeInMenu();
            if (menuActions.isEmpty()) {
                return;
            }
            KongaPopupMenu pm = new KongaPopupMenu();
            pm.addActions(menuActions);
            pm.show(e.getComponent(), e.getX(), e.getY());
        }
       
        private List<Action> getActionsToIncludeInMenu() {
            List<Action> toInclude = Lists.newArrayList();
View Full Code Here

Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

        private void showPopupMenu(MouseEvent e) {
            KongaPopupMenu popup = new KongaPopupMenu();
            popup.add(closeTabAction);
            if (canCloseOthers) {
                popup.addActions(closeOtherTabsAction, closeAllTabsAction);
            }
            if (additionalActions != null) {
                popup.addActions(additionalActions);
            }
            popup.show(e.getComponent(), e.getX(), e.getY());
View Full Code Here

Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

            popup.add(closeTabAction);
            if (canCloseOthers) {
                popup.addActions(closeOtherTabsAction, closeAllTabsAction);
            }
            if (additionalActions != null) {
                popup.addActions(additionalActions);
            }
            popup.show(e.getComponent(), e.getX(), e.getY());
        }

View Full Code Here

Examples of org.jitterbit.ui.widget.popup.KongaPopupMenu.addActions()

    /**
     * Creates the popup menu that will appear when the arrow button is pressed.
     */
    protected JPopupMenu createPopupMenu() {
        KongaPopupMenu menu = new KongaPopupMenu();
        menu.addActions(optionActions);
        registerMenuItemListener(menu);
        return menu;
    }

    protected void registerMenuItemListener(JPopupMenu popupMenu) {
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.