int index = parent.indexOf(this); for (int j = index + 1; j < parent.columnCount; j++) { TableColumn column = parent.columns [j]; column.sendEvent (SWT.Move);
if (isDisposed ()) return; boolean moved = false; int [] order = parent.getColumnOrder (); TableColumn [] columns = parent.getColumns (); for (int i=0; i<order.length; i++) { TableColumn column = columns [order [i]]; if (moved && !column.isDisposed ()) { column.sendEvent (SWT.Move); } if (column == this) moved = true;
void resized (int newWidth) {	lastWidth = newWidth;	sendEvent (SWT.Resize);	int index = parent.indexOf(this);	for (int j = index + 1; j < parent.columnCount; j++) {		TableColumn column = parent.columns [j];		column.sendEvent (SWT.Move);	}}