*/
public void focusLost(FocusEvent e) {
// When the focus is lost, we have to treat the case where the focus went to the key assist
// dialog, so, if that was the case, we won't leave right now, only when the focus is
// removed from that dialog or ESC is pressed.
KeyAssistDialog tempKeyAssistDialog = keyAssistDialog;
if (tempKeyAssistDialog != null) {
final Table completionsTable = tempKeyAssistDialog.getCompletionsTable();
if (completionsTable != null && !completionsTable.isDisposed()) {
new UIJob("Check leave") {
public IStatus runInUIThread(IProgressMonitor monitor) {