title: How to get multiple records in SWT table
body: <p>I want to create a table using SWT, and want to add a column with checkbox, then I want to delete the rows which were checked (the checkboxes were checked).</p>
  
  <p>I know how to add a column with checkbox, like following:</p>
  
  <pre><code>TableEditor editor = new TableEditor(table);
  final Button checkButton = new Button(table, SWT.CHECK);
  </code></pre>
  
  <p>but I don't know how to get the selected rows (the checkbox were checked). I researched it using google, but haven't found a demo, can anybody tell me how to get the selected rows?</p>