FilteredTypesSelectionDialog dialog = new FilteredTypesSelectionDialog(getShell(), false,
new ProgressMonitorDialog(getShell()), searchScope, IJavaSearchConstants.CLASS);
dialog.setBlockOnOpen(true);
dialog.setTitle("Type Selection");
// dialog.setFilter("*");
if (Dialog.OK == dialog.open()) {
IType obj = (IType) dialog.getFirstResult();
this.onExceptionText.setText(obj.getFullyQualifiedName());
}
}
catch (JavaModelException e) {