Revision 23443827
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/ExportManager.java | ||
---|---|---|
404 | 404 |
return job; |
405 | 405 |
} |
406 | 406 |
|
407 |
public void runMoniteredOperation(final IExportConfigurator configurator) { |
|
407 |
public void runMoniteredOperation(final IExportConfigurator configurator, String urlString) {
|
|
408 | 408 |
IIOService ioService = CdmApplicationState.getIOService(); |
409 | 409 |
final UUID uuid = ioService.monitExportData(configurator); |
410 |
|
|
410 | 411 |
Display.getDefault().asyncExec(new Runnable() { |
411 | 412 |
@Override |
412 | 413 |
public void run() { |
413 |
AbstractUtility.executeMoniteredOperation("Export: " + configurator.getClass().getSimpleName(), |
|
414 |
boolean isZip = false; |
|
415 |
if (configurator instanceof CdmLightExportConfigurator){ |
|
416 |
isZip = ((CdmLightExportConfigurator)configurator).isCreateZipFile(); |
|
417 |
} |
|
418 |
AbstractUtility.executeMoniteredExport("Export: " + configurator.getClass().getSimpleName(), |
|
414 | 419 |
uuid, |
415 | 420 |
1000, |
416 | 421 |
true, |
417 | 422 |
ExportManager.this, |
418 |
null); |
|
423 |
null, |
|
424 |
urlString, |
|
425 |
isZip); |
|
419 | 426 |
} |
420 | 427 |
}); |
421 | 428 |
|
Also available in: Unified diff
fix #6799: the destination file should not be passed to the server