code: public static Button createButton(Resource icon, String title, boolean alwaysShow) {
  
          Button button = new Button(icon);
          button.setDescription(title);
          button.addStyleName(ValoTheme.BUTTON_BORDERLESS);
          button.addStyleName(OpenCmsTheme.TOOLBAR_BUTTON);
          if (alwaysShow) {
              button.addStyleName(OpenCmsTheme.REQUIRED_BUTTON);
          }
          return button;
      }
docs: Creates a properly styled toolbar button.<p>
  
  @param icon the button icon
  @param title the button title, will be used for the tooltip
  @param alwaysShow <code>true</code> to prevent the button to be folded into a sub menu for small screens
  
  @return the button