code: private void addSettingsButton() {
  
          Button button = CmsToolBar.createButton(
              FontOpenCms.SETTINGS,
              CmsVaadinUtils.getMessageText(Messages.GUI_LOGFILE_LOGSETTINGS_TOOL_NAME_SHORT_0));
          button.addClickListener(new ClickListener() {
  
              private static final long serialVersionUID = 1L;
  
              public void buttonClick(ClickEvent event) {
  
                  Window window = CmsBasicDialog.prepareWindow(CmsBasicDialog.DialogWidth.wide);
                  window.setCaption(CmsVaadinUtils.getMessageText(Messages.GUI_LOGFILE_LOGVIEW_SETTINGS_SHORT_0));
                  window.setContent(new CmsLogFileViewSettings(window));
                  window.addCloseListener(new CloseListener() {
  
                      private static final long serialVersionUID = -7058276628732771106L;
  
                      public void windowClose(CloseEvent e) {
  
                          m_fileView.updateView();
                      }
                  });
                  A_CmsUI.get().addWindow(window);
              }
          });
          m_uiContext.addToolbarButton(button);
      }
docs: Button to open log file view settings dialog.<p>