code: @SuppressWarnings("unchecked")
      void onItemClick(MouseEvents.ClickEvent event, Object itemId, Object propertyId) {
  
          if (!event.isCtrlKey() && !event.isShiftKey()) {
              changeValueIfNotMultiSelect(itemId);
              // don't interfere with multi-selection using control key
              if (event.getButton().equals(MouseButton.RIGHT) || (propertyId == null)) {
                  m_menu.setEntries(getMenuEntries(), (Set<String>)getValue());
                  m_menu.openForTable(event, itemId, propertyId, this);
              } else if (event.getButton().equals(MouseButton.LEFT) && TableProperty.Name.equals(propertyId)) {
                  String typeName = (String)itemId;
                  openEditDialog(typeName);
              }
          }
      }
docs: Handles the table item clicks, including clicks on images inside of a table item.<p>
  
  @param event the click event
  @param itemId of the clicked row
  @param propertyId column id