private Runnable getExtractionJob(final WebServiceInfo wsInfo, final WebServiceOperationInfo opInfo) {
return new Runnable() {
@Override
public void run() {
OperationDocumentationExtractor extractor = new OperationDocumentationExtractor();
String documentation = extractor.getDocumentation(wsInfo, opInfo);
if ((documentation == null) || (documentation.length() == 0)) {
documentation = PackageResources.DocumentationDisplayer.EMPTY;
}
displayDialog(opInfo, documentation);
}