108109110111112113114115116117118
final ResultsDialog dialog = new ResultsDialog(Display.getCurrent().getActiveShell(), text, topLeft); Query query = new Query(text); disableFocusLostEvent = true; query.run(dialog); disableFocusLostEvent = false; } } });