Project

General

Profile

« Previous | Next » 

Revision 9c50b7b6

Added by Andreas Müller over 1 year ago

ref #10189 split CdmApplicationController into repository and application part in taxeditor print publisher (only make compilable)

View differences:

eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/handler/GeneratePdfHandler.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.taxeditor.printpublisher.handler;
11 10

  
12 11
import java.util.UUID;
......
27 26
import eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInput;
28 27
import eu.etaxonomy.taxeditor.model.MessagingUtils;
29 28
import eu.etaxonomy.taxeditor.printpublisher.wizard.DirectPublishingWizard;
30
import eu.etaxonomy.taxeditor.store.CdmStore;
31 29

  
32 30
/**
33
 * <p>GeneratePdfHandler class.</p>
34
 *
35 31
 * @author n.hoffmann
36 32
 * @created Jul 20, 2010
37 33
 */
......
52 48
			return null;
53 49
		}
54 50

  
55
		configurator = PublishConfigurator.NewLocalInstance(CdmStore.getCurrentApplicationConfiguration());
51
		//Note: was NewLocalInstance before
52
		configurator = PublishConfigurator.NewRemoteInstance();
56 53

  
57 54
		Element taxonNodeElement = getTaxonNodeElement((TaxonEditorInput) input);
58 55
		configurator.addSelectedTaxonNodeElements(taxonNodeElement);

Also available in: Unified diff