IJavaProject javaProject = JavaCore.create(project);
MethodSearch methodSearcher = new MethodSearch(javaProject);
IRunnableWithProgress op = methodSearcher;
ProgressMonitorDialog progressDialog = new ProgressMonitorDialog(shell);
progressDialog.run(true, true, op);
// output format?
MessageDialog formatDialog = new MessageDialog(shell, "Output Format", null, "What kind of output do you want?", 0, new String[] { "cancel", "Comments", "Text File", }, 1);
formatDialog.open();
if (formatDialog.getReturnCode() == 2) {