Button addColumnButton = new Button(buttonPanel, SWT.PUSH);
addColumnButton.setText("Copy");
addColumnButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
natTable.doCommand(new CopyDataToClipboardCommand(
"\t", System.getProperty("line.separator"), //$NON-NLS-1$ //$NON-NLS-2$
natTable.getConfigRegistry()));
}
});