Revision bb809fe0
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java | ||
---|---|---|
672 | 672 |
final int pollInterval, |
673 | 673 |
final boolean cancelable, |
674 | 674 |
final IPostMoniteredOperationEnabled postOp, |
675 |
final IFeedbackGenerator feedbackGenerator) { |
|
675 |
final IFeedbackGenerator feedbackGenerator, |
|
676 |
final boolean showResult) { |
|
676 | 677 |
|
677 | 678 |
try{ |
678 | 679 |
// get the remoting monitor the first time to make sure that the |
... | ... | |
702 | 703 |
return new Status(Status.ERROR, TaxeditorStorePlugin.PLUGIN_ID, "Operation Interrupted", ex); |
703 | 704 |
} |
704 | 705 |
final StringBuilder reportSb = new StringBuilder(); |
706 |
|
|
705 | 707 |
// collect reports |
706 | 708 |
// for(String report : remotingMonitor.getResult()) { |
707 | 709 |
if (remotingMonitor.getResult() instanceof ExportResult) { |
... | ... | |
715 | 717 |
} |
716 | 718 |
} |
717 | 719 |
// } |
718 |
if(!StringUtils.isBlank(reportSb.toString()) && reportSb.length() != 0) { |
|
720 |
if(showResult && !StringUtils.isBlank(reportSb.toString()) && reportSb.length() != 0) {
|
|
719 | 721 |
Display.getDefault().asyncExec(new Runnable() { |
720 | 722 |
@Override |
721 | 723 |
public void run() { |
Also available in: Unified diff
minor