Examples of addActions()


Examples of org.jitterbit.ui.widget.menu.KongaMenu.addActions()

        }
    }

    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

Examples of org.jitterbit.ui.widget.menu.KongaMenu.addActions()

    public JMenu getMarkerMenu() {
        KongaMenu m = new KongaMenu(UiResourceBundle.getString("TextMarker.Menu"));
        m.addActions(markActions);
        m.addSeparator();
        m.addActions(clearAction, clearAllAction);
        return m;
    }

    public static List<MarkerColor> getDefaultColors() {
        return Arrays.asList(
View Full Code Here

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

            if (actionProvider != null) {
                TreePath path = ((JTree) source).getClosestPathForLocation(x, y);
                if (path != null) {
                    ((JTree) source).setSelectionPath(path);
                    KongaPopupMenu menu = new KongaPopupMenu();
                    menu.addActions(actionProvider.get());
                    menu.show(source, x, y);
                }
            }
            return true;
        }
View Full Code Here

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

        if (actionProvider != null) {
            int index = ((JList) source).locationToIndex(new Point(x, y));
            if (index >= 0) {
                ((JList) source).setSelectedIndex(index);
                KongaPopupMenu menu = new KongaPopupMenu();
                menu.addActions(actionProvider.get());
                menu.show(source, x, y);
            }
        }
        return true;
    }
View Full Code Here

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

        private JPopupMenu getPopupMenu(ClassNameNode node) {
            if (node.getChildAt(0) instanceof UnknownStructureNode) {
                return null;
            }
            KongaPopupMenu pm = new KongaPopupMenu();
            pm.addActions(new SelectRequiredAction(node),
                            tree.getCheckAllAction(node),
                            tree.getUncheckAllAction(node),
                            setAuxClassesAction,
                            setExtendedAttributesAction);
            return pm;
View Full Code Here

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

        // Default implementation does nothing
    }

    protected JPopupMenu createPopupMenu() {
        KongaPopupMenu popup = new KongaPopupMenu();
        popup.addActions(moveUpAction, moveDownAction, null, deleteAction);
        return popup;
    }

    final JPopupMenu getPopupMenu() {
        return popupMenu;
View Full Code Here

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

            return popup;
        }

        private JPopupMenu createPopupMenu() {
            KongaPopupMenu pm = new KongaPopupMenu();
            pm.addActions(actions);
            return pm;
        }
    }
   
}
View Full Code Here

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

    protected JPopupMenu getToolbarPopupMenu() {
        if (toolbarPopupMenuActions.isEmpty()) {
            return null;
        }
        KongaPopupMenu pm = new KongaPopupMenu();
        pm.addActions(toolbarPopupMenuActions);
        return pm;
    }

    /**
     * Retrieves the help ID used to identify this editor in the application's help system.
View Full Code Here

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

    }

    public void handleContextMenuRequest(Component source, int x, int y) {
        KongaPopupMenu pm = new KongaPopupMenu();
        Action[] actions = { goNext, goBack, save, null, cancel };
        pm.addActions(actions);
        pm.show(source, x, y);
    }

    public NavigationButtons getToolBar() {
        if (toolbar == null) {
View Full Code Here

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

    private class PopupMenuHandler implements PopupMenuRequestHandler {

        @Override
        public boolean popupMenuRequested(Component source, int x, int y) {
            KongaPopupMenu pm = new KongaPopupMenu();
            pm.addActions(actions.login(), actions.viewDetails(), null, actions.remove());
            pm.show(source, x, y);
            return true;
        }
    }
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.