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

Examples of org.jitterbit.application.ui.window.toolbar.ToolBar


            }
        }
    }

    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));
    }
View Full Code Here


    }

    @Override
    public void addExtensions() {
        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

        }
    }

    @Override
    public ToolBar getToolBar(String id) {
        ToolBar tb = toolBarMap.get(id);
        if (tb == null) {
            tb = appWinToolBarManager.getToolBar(id);
        }
        return tb;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.window.toolbar.ToolBar

Copyright © 2018 www.massapicom. 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.