Revision 00b46185
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/excel/distribution/ExcelDistributionUpdateWizardE4.java | ||
---|---|---|
37 | 37 |
/** |
38 | 38 |
* @author k.luther |
39 | 39 |
* @date 03.05.2017 |
40 |
* |
|
41 | 40 |
*/ |
42 | 41 |
public class ExcelDistributionUpdateWizardE4 extends AbstractImportWizardE4<ExcelDistributionUpdateConfigurator> { |
43 | 42 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/tcs/TcsImportWizardE4.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.e4.in.tcs; |
11 | 10 |
|
12 | 11 |
import java.io.File; |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.cdm.common.CdmUtils; |
27 | 27 |
|
28 | 28 |
/** |
29 |
* |
|
30 | 29 |
* @author n.hoffmann |
31 | 30 |
* @created 04.08.2009 |
32 |
* @version 1.0 |
|
33 | 31 |
*/ |
34 | 32 |
public class ImportFromFileDataSourceWizardPage extends AbcdSourceSelectionPage { |
35 | 33 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/SpecimenCdmExcelImportWizard.java | ||
---|---|---|
1 | 1 |
/** |
2 |
* |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
3 | 8 |
*/ |
4 | 9 |
package eu.etaxonomy.taxeditor.io.wizard; |
5 | 10 |
|
... | ... | |
13 | 18 |
|
14 | 19 |
/** |
15 | 20 |
* @author n.hoffmann |
16 |
* |
|
17 | 21 |
*/ |
18 | 22 |
public class SpecimenCdmExcelImportWizard extends AbstractImportWizard<SpecimenCdmExcelImportConfigurator> { |
19 | 23 |
|
... | ... | |
21 | 25 |
|
22 | 26 |
private ImportFromFileDataSourceWizardPage dataSourcePage; |
23 | 27 |
|
24 |
/* (non-Javadoc) |
|
25 |
* @see eu.etaxonomy.taxeditor.io.wizard.AbstractImportWizard#getConfigurator() |
|
26 |
*/ |
|
27 | 28 |
@Override |
28 | 29 |
public SpecimenCdmExcelImportConfigurator getConfigurator() { |
29 | 30 |
return configurator; |
30 | 31 |
} |
31 | 32 |
|
32 |
/* (non-Javadoc) |
|
33 |
* @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection) |
|
34 |
*/ |
|
35 |
/** {@inheritDoc} */ |
|
36 | 33 |
@Override |
37 | 34 |
public void init(IWorkbench workbench, IStructuredSelection selection) { |
38 | 35 |
super.init(workbench, selection); |
39 | 36 |
configurator = CdmStore.getImportManager().SpecimenCdmExcelImportConfigurator(); |
40 | 37 |
} |
41 | 38 |
|
42 |
/* (non-Javadoc) |
|
43 |
* @see org.eclipse.jface.wizard.Wizard#performFinish() |
|
44 |
*/ |
|
45 | 39 |
@Override |
46 | 40 |
public boolean performFinish() { |
47 | 41 |
URI source = dataSourcePage.getUri(); |
... | ... | |
53 | 47 |
return true; |
54 | 48 |
} |
55 | 49 |
|
56 |
/* (non-Javadoc) |
|
57 |
* @see eu.etaxonomy.taxeditor.io.wizard.AbstractImportWizard#addPages() |
|
58 |
*/ |
|
59 |
/** {@inheritDoc} */ |
|
60 | 50 |
@Override |
61 | 51 |
public void addPages() { |
62 | 52 |
super.addPages(); |
... | ... | |
65 | 55 |
"Please choose an xls file in the SpecimenCdmExcel format.", new String[]{"*.xlsx", "*.xls", "*.*"}); |
66 | 56 |
addPage(dataSourcePage); |
67 | 57 |
} |
68 |
|
|
69 |
} |
|
58 |
} |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/TcsExportWizard.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.wizard; |
11 | 10 |
|
12 | 11 |
import java.io.File; |
... | ... | |
24 | 23 |
* |
25 | 24 |
* @author n.hoffmann |
26 | 25 |
* @created 15.06.2009 |
27 |
* @version 1.0 |
|
28 | 26 |
*/ |
29 | 27 |
public class TcsExportWizard extends |
30 | 28 |
AbstractExportWizard<TcsXmlExportConfigurator> { |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CheckboxElement.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.ui.element; |
11 | 10 |
|
12 | 11 |
import org.eclipse.swt.SWT; |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractCdmDetailElement.java | ||
---|---|---|
46 | 46 |
* @author n.hoffmann |
47 | 47 |
* @created Feb 26, 2010 |
48 | 48 |
*/ |
49 |
public abstract class AbstractCdmDetailElement<T> extends AbstractCdmFormElement implements ICdmDetailElement<T>, Observer{ |
|
49 |
public abstract class AbstractCdmDetailElement<T> |
|
50 |
extends AbstractCdmFormElement |
|
51 |
implements ICdmDetailElement<T>, Observer{ |
|
50 | 52 |
|
51 | 53 |
private T entity; |
52 | 54 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaRepresentationPartElement.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.ui.section.media; |
11 | 10 |
|
12 | 11 |
import java.net.URI; |
... | ... | |
27 | 26 |
* |
28 | 27 |
* @author n.hoffmann |
29 | 28 |
* @created Mar 24, 2010 |
30 |
* @version 1.0 |
|
31 | 29 |
*/ |
32 | 30 |
public class MediaRepresentationPartElement<T extends MediaRepresentationPart> extends |
33 | 31 |
AbstractEntityCollectionElement<T> { |
Also available in: Unified diff
cleanup