I know we can create a table with a checkbox column in SWT using following code:
Table table = new Table(shell, SWT.CHECK)
e.g. Following is a SWT table with a checkbox column:
http://www.eclipse.org/articles/Article-Table-viewer/images/tableViewer.gif
But the checkbox column is located at the first column, is it possible to “move” the checkbox to the last column when creating the table?
I think there is no simple way to do that. You can add a new column with images of checkboxes, as shown in this snippet:
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet061FakedNativeCellEditor.java?view=markup
There is an open bug in Eclipse Bugzilla to provide a built-in solution for this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=285121