protected Table newTable(Composite parent, int style) {
Table table = new Table(parent, style | SWT.BORDER);
GridData gd = new GridData(GridData.FILL_BOTH);
table.setLayoutData(gd);
table.addListener(SWT.Selection, this);
table.addListener(SWT.KeyUp, this); // delete key
return table;
}
public int getHitColumn(TableItem item, Point p) {
for (int i = item.getParent().getColumnCount() - 1; i >= 0; i--) {