code: public void openForTable(ClickEvent event, Object itemId, Object propertyId, Table table) {
  
          fireEvent(new ContextMenuOpenedOnTableRowEvent(this, table, itemId, propertyId));
          open(event.getClientX(), event.getClientY());
  
      }
docs: Opens the context menu of the given table.<p>
  
  @param event the click event
  @param itemId of clicked item
  @param propertyId of clicked item
  @param table the table