Ejemplo n.º 1
0
  /**
   * Creates the tool bar of myjobs grid
   *
   * @return tool bar
   */
  private ToolBar createToolBar() {
    ToolBar tb = new ToolBar();

    tb.add(createClearAllButton());
    tb.add(new FillToolItem());

    ToolButton info = new ToolButton(ToolButton.QUESTION);
    ToolTipConfig config = new ToolTipConfig(AppPropertiesManager.CONSTANTS.myjobs_grid_tooltip());
    config.setMaxWidth(225);
    info.setToolTipConfig(config);
    tb.add(info);

    return tb;
  }