}
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));
}