Revision 9d02f251
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java | ||
---|---|---|
56 | 56 |
|
57 | 57 |
/** |
58 | 58 |
* Creates new instance of CdmApplicationRemoteController |
59 |
* |
|
60 |
* @param applicationContextResource |
|
61 |
* @param remoteSource |
|
62 |
* @param omitTermLoading |
|
63 |
* @param progressMonitor |
|
64 |
* @param listeners |
|
65 |
* @return |
|
66 | 59 |
*/ |
67 | 60 |
public static CdmApplicationRemoteController NewInstance(ICdmRemoteSource remoteSource, |
68 | 61 |
IProgressMonitor progressMonitor, |
... | ... | |
89 | 82 |
|
90 | 83 |
/** |
91 | 84 |
* Constructs CdmApplicationRemoteController |
92 |
* |
|
93 |
* @param applicationContextResource |
|
94 |
* @param remoteSource |
|
95 |
* @param omitTermLoading |
|
96 |
* @param progressMonitor |
|
97 |
* @param listeners |
|
98 | 85 |
*/ |
99 | 86 |
private CdmApplicationRemoteController(Resource applicationContextResource, |
100 | 87 |
ICdmRemoteSource remoteSource, |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/AbstractIOManager.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.io; |
11 | 10 |
|
12 | 11 |
import java.util.List; |
... | ... | |
26 | 25 |
import eu.etaxonomy.taxeditor.ui.dialog.ReportTextDialog; |
27 | 26 |
|
28 | 27 |
/** |
29 |
* <p> |
|
30 |
* Abstract AbstractIOHandler class. |
|
31 |
* </p> |
|
32 |
* |
|
33 | 28 |
* @author n.hoffmann |
34 | 29 |
* @created Sep 11, 2009 |
35 |
* @version 1.0 |
|
36 | 30 |
*/ |
37 | 31 |
public abstract class AbstractIOManager<CONFIGURATOR extends IIoConfigurator> { |
38 | 32 |
|
... | ... | |
42 | 36 |
Jaxb, Tcs, Excel_Taxa, Endnote, Sdd, Abcd, SpecimenCdmExcel, Excel_Name, SpecimenSearch, Gbif, Excel_Distribution, Ris, OWL |
43 | 37 |
} |
44 | 38 |
|
45 |
/** |
|
46 |
* <p> |
|
47 |
* Constructor for AbstractIOHandler. |
|
48 |
* </p> |
|
49 |
* |
|
50 |
* @param applicationController |
|
51 |
* a |
|
52 |
* {@link eu.etaxonomy.cdm.api.application.CdmApplicationController} |
|
53 |
* object. |
|
54 |
* @param <CONFIGURATOR> |
|
55 |
* a CONFIGURATOR object. |
|
56 |
*/ |
|
57 | 39 |
protected AbstractIOManager( |
58 | 40 |
ICdmRepository applicationConfiguration) { |
59 | 41 |
this.applicationConfiguration = applicationConfiguration; |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/AbstractOpenImportWizard.java | ||
---|---|---|
17 | 17 |
/** |
18 | 18 |
* @author pplitzner |
19 | 19 |
* @since Oct 5, 2017 |
20 |
* |
|
21 | 20 |
*/ |
22 | 21 |
public abstract class AbstractOpenImportWizard { |
23 | 22 |
@Execute |
24 |
public void execute(IEclipseContext ctx, Shell s) |
|
25 |
{ |
|
26 |
AbstractImportWizard wizard = ContextInjectionFactory.make(getImportWizardClass(), ctx); |
|
23 |
public void execute(IEclipseContext ctx, Shell s){ |
|
24 |
AbstractImportWizard<?> wizard = ContextInjectionFactory.make(getImportWizardClass(), ctx); |
|
27 | 25 |
wizard.init(); |
28 | 26 |
WizardDialog dialog = new WizardDialog(s, wizard); |
29 | 27 |
dialog.open(); |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/excel/specimen/OpenExcelSpecimenImportWizard.java | ||
---|---|---|
14 | 14 |
/** |
15 | 15 |
* @author pplitzner |
16 | 16 |
* @since Oct 5, 2017 |
17 |
* |
|
18 | 17 |
*/ |
19 | 18 |
public class OpenExcelSpecimenImportWizard extends AbstractOpenImportWizard { |
20 | 19 |
|
21 |
/** |
|
22 |
* {@inheritDoc} |
|
23 |
*/ |
|
24 | 20 |
@Override |
25 | 21 |
protected Class<? extends AbstractImportWizard> getImportWizardClass() { |
26 | 22 |
return SpecimenCdmExcelImportWizard.class; |
27 | 23 |
} |
28 |
|
|
29 |
} |
|
24 |
} |
Also available in: Unified diff
cleanup