code: private void addNewPropertyButton(final CmsPropertyTable table) {
  
          Button add = CmsToolBar.createButton(
              FontOpenCms.WAND,
              CmsVaadinUtils.getMessageText(Messages.GUI_DATABASEAPP_PROPERTY_NEW_CAPTION_0));
          add.addClickListener(new ClickListener() {
  
              private static final long serialVersionUID = 1L;
  
              public void buttonClick(ClickEvent event) {
  
                  final Window window = CmsBasicDialog.prepareWindow();
                  window.setCaption(CmsVaadinUtils.getMessageText(Messages.GUI_DATABASEAPP_PROPERTY_NEW_CAPTION_0));
                  window.setContent(new CmsAddPropertyDefinitionDialog(window, table));
                  A_CmsUI.get().addWindow(window);
              }
          });
          m_uiContext.addToolbarButton(add);
  
      }
docs: Button for adding new property.<p>
  @param table table to be updated