if (result != null) {
final File file = new File(result);
if (this.folders == null)
this.folders = new ArrayList();
if (file != null && file.isDirectory()) {
ProgressMonitorDialog dialog2 = new TimeTriggeredProgressMonitorDialog(null, 500);
try {
dialog2.run(true, true, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) {
monitor.beginTask("Searching for man pages", 1);
performSearch(file);
monitor.done();
}