Project

General

Profile

« Previous | Next » 

Revision d85cfdf3

Added by Katja Luther over 7 years ago

fix #5759 remove all switches for remoting and standalone

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/CsvNameExportWizard.java
67 67

  
68 68
	    final Combo combo = page.getCombo();
69 69
	    configurator.setClassificationUUID(page.getSelectedClassificationUUID());
70
	    if(CdmStore.getCurrentSessionManager().isRemoting()) {
71
	        // create job
72
	        Job job = CdmStore.getExportManager().createIOServiceJob(configurator, new File(urlString));
73
	        // configure the job
74
	        job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
75
	        job.setUser(true);
76
	        // schedule job
77
	        job.schedule();
78
	    } else {
79
	        configurator.setDestination(new File(urlString));
80
	        CdmStore.getExportManager().run(configurator);
81
	    }
70
	    
71
        // create job
72
        Job job = CdmStore.getExportManager().createIOServiceJob(configurator, new File(urlString));
73
        // configure the job
74
        job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
75
        job.setUser(true);
76
        // schedule job
77
        job.schedule();
78
	   
82 79
		return true;
83 80
	}
84 81

  

Also available in: Unified diff