if (getDisplay().getFocusControl() == null) { getShell().traverse(SWT.TRAVERSE_TAB_NEXT);
Shell shell = getShell(); if (isFocusControl() || frame.isFocusControl()) { shell.traverse(SWT.TRAVERSE_TAB_NEXT);
private int OnInPlaceDeactivate() {	if (objIOleInPlaceObject != null) objIOleInPlaceObject.Release();	objIOleInPlaceObject = null;	state = STATE_RUNNING;	redraw();	if (getDisplay().getFocusControl() == null) {		getShell().traverse(SWT.TRAVERSE_TAB_NEXT);	}	return COM.S_OK;}