I have an org.eclipse.swt.widgets.TableItem object which needs to have both a display name and a hidden id. When the user clicks on the tableItem, my code will call a database which uses the hidden id.
I don't see anywhere on the API for TableItem to store a hidden id value. The setText method controls the user displayed value. What is the best practice for storing a hidden id for each element in a table?