Package org.jitterbit.ui.widget.menu

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


    private void addOperationMenu(JMenu parent) {
        KongaMenu opMenu = new KongaMenu("&Operation", getMenuIcon(EntityType.Operation));
        SuccessOperationSelector selector = new SuccessOperationSelector(controller, node);
        opMenu.add(new OpenSuccessFailureSelectorDialogAction(selector));
        opMenu.add(new CreateNewOperationAction(controller, node, RouteType.SUCCESS));
        opMenu.addSeparator();
        opMenu.add(new RemoveSuccessOperationAction(controller, node));
        parent.add(opMenu);
    }

    private static Icon getMenuIcon(EntityType type) {
View Full Code Here


    private void addEmailMenu(JMenu parent) {
        KongaMenu menu = new KongaMenu("&Email", getMenuIcon(EntityType.EmailMessage));
        SuccessEmailSelector selector = new SuccessEmailSelector(controller, node);
        menu.add(new OpenSuccessFailureSelectorDialogAction(selector));
        menu.add(new CreateNewEmailAction(controller, node, RouteType.SUCCESS));
        menu.addSeparator();
        menu.add(new RemoveSuccessEmailAction(controller, node));
        parent.add(menu);
    }

}
View Full Code Here

    }

    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() {
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.