final ToolBar toolBar = new ToolBar();
panel.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
// -----
menuButton = new ToolButton("Open", new ClickHandler()
{
public void onClick(ClickEvent clickEvent) {
controller.handleEvent(new Event(GetProcessDefinitionsAction.ID, null));
}
});
toolBar.add(menuButton);
// -----
title = new HTML();
title.getElement().setAttribute("style", "font-size:24px; font-weight:BOLD");
// ------------
BoxLayout boxLayout = new BoxLayout(BoxLayout.Orientation.HORIZONTAL);
timespanPanel = new LayoutPanel(boxLayout);
timespanPanel.setPadding(0);
timespan = new HTML();
timespan.getElement().setAttribute("style", "padding-left:10px;padding-top:2px; color:#C8C8C8;font-size:16px;text-align:left;");
timespanButton = new ToolButton();
timespanButton.setStyle(ToolButton.ToolButtonStyle.MENU);
timespanButton.getElement().setAttribute("style", "padding-right:0px;background-image:none;");
timespanButton.setVisible(false);