Package org.jitterbit.application.ui.window.toolbar

Examples of org.jitterbit.application.ui.window.toolbar.ToolBar.addExtension()


    public void setLoginAction(ApplicationAction action) {
        ToolBar actionsTb = toolBarManager.getToolBar(ApplicationWindowToolBars.ACTIONS);
        ActionsToolBarExtension actionExt = new ActionsToolBarExtension(action);
        ToolBarExtensionPoint extPt = ToolBarExtensionPoint.EXTENSION_POINT_2;
        actionsTb.addExtension(extPt, actionExt.getButtons(extPt));
    }


    private class DropHandler extends TransferHandler {
View Full Code Here


        for (AbstractToolBarExtension ext : extensions) {
            ToolBar tb = appWinToolBarManager.getToolBar(ext.getId());
            for (ToolBarExtensionPoint p : ToolBarExtensionPoint.values()) {
                List<JButton> buttons = ext.getButtons(p);
                if (buttons != null) {
                    tb.addExtension(p, buttons);
                }
            }
        }
    }
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.